- Clone this repository
- Install packages
npm install
- Run app
npm start
To connect to the mongo database, it is necessary to set the url to the database in the environment variable MONGODB_URL
.
If you want to enable the sending of emails when the user registers, it is necessary to set the SENDGRID
environment variable with the value of the your api-key.
In development it is necessary to have the following configuration in the nodemon.json file:
{
"env": {
"SENDGRID_KEY": "API_KEY_VALUE",
"MONGODB_URL": "URL_MONGO_DB"
}
}