A Node.js api for managing and controlling deliveries.
- ๐ JavaScript โ A programming language that allows you to implement complex things on web pages
- ๐น Node Js โ A web framework for Node Js
-
Clone this repo using
git clone [email protected]:leotelles/delivery-control-server.git
-
Move yourself to the appropriate directory:
cd delivery-control-server
-
We need to start the api. For that you'll need to:
- Create a database in PostgreSQL and a redis container with docker.
- Create a .env file following the format available on .env.example.
- Run the following commands:
yarn
yarn sequelize db:migrate
yarn sequelize db:seed:all
- After that you can start the api with:
yarn dev
- And then, in a seperate command prompt:
yarn queue
This project is licensed under the MIT License - see the LICENSE page for details.