NodeJs REST API with Queues
Before executing the application, make sure that you have the following prerequesites:
- NodeJs
- Yarn
- Docker or Redis
- Email provider
The following variables are REQUIRED to work.
//Environment Variables to send emails
MAIL_HOST=
MAIL_PORT=
MAIL_USER=
MAIL_PASS=
//Redis configuration (you can use the docker-compose redis database)
REDIS_HOST= //docker host : 127.0.0.1
REDIS_PORT= //docker port : 6379
In your project base directory, install all dependencies with the command:
yarn
Then, simply execute the following command to start the application:
yarn dev
- Fernando Luiz de Carvalho Barbosa