Skip to content

Delivery is a delivery system, where the courier must register in the system to deliver to the customer at the time the customer is registered in the system. The delivery person and the customer must be registered in the system so that the delivery person...

Notifications You must be signed in to change notification settings

Miguel-Leite/delivery-api

Repository files navigation

Delivery

NodeJS TypeScript JWT Express.js Prisma Postgres

🚧 Delivery 🚀 Under construction... 🚧


About   |   Features   |   Technologies   |   Requirements   |   Starting   |   License   |   Author


🎯 About

Delivery is a delivery system, where the courier must register in the system to deliver to the customer at the time the customer is registered in the system. The delivery person and the customer must be registered in the system so that the delivery person can make the delivery and the customer can receive the delivery.

✨ Features

  • Create a delivery
  • Create a deliveryman
  • Create a client
  • Update delivery adding deliveryman
  • Deliveryman authentication with JWT
  • Client Authentication with JWT
  • Validation on router for create a delivery
  • Validation on router for find all available delivery
  • Find delivery using deliveryman token
  • Find delivery of deliveryman
  • Delivery update with delivery date

🚀 Technologies

The following tools were used in this project:

✅ Requirements

Before starting 🏁, you need to have Git, Node and PostgreSQL installed.

Note: You can change the database driver from postgresql to sqlite if you don't have postgresql installed on your PC, don't have problem this.

🏁 Starting

# Clone this project
$ git clone https://github.com/Miguel-Leite/delivery

# Access
$ cd delivery

# Install dependencies
$ yarn

# Run the migrations
$ yarn prisma migrate dev

# Run the project
$ yarn dev

# The server will initialize in the <http://localhost:3000>

📝 License

This project is under license from MIT. For more details, see the LICENSE file.

Made with ❤️ by Miguel Leite

About

Delivery is a delivery system, where the courier must register in the system to deliver to the customer at the time the customer is registered in the system. The delivery person and the customer must be registered in the system so that the delivery person...

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published