Delivery service API built using NodeJS, Typescript and Prisma.io.
This project was made using the following technologies:
# Clone repository
$ git clone https://github.com/debfdias/DeliveryNow/
# Access folder
$ cd DeliveryNow
# Install dependencies
$ yarn
# Run migrations
$ yarn prisma migrate dev
# Run aplication
$ yarn dev
# Access prisma client
$ yarn prisma client
# Edit the .env.example file with your pg credentials
$ DATABASE_URL="postgresql://YOUR_USER:YOUR_PASSWORD@localhost:5432/YOUR_DATABASE?schema=public"
You can also use Docker to run the whole application. First, create your postgre database:
# Create pg database
$ docker run --name deliverynow -e POSTGRES_PASSWORD=docker -p 5432:5432 -d postgres
# Run the app and api
$ docker-compose up
This project is licensed under the MIT license.