- nodejs (v10)
- Kafka (v2)
- Mongodb (v4)
Configuration for the application is at config/default.js
.
The following parameters can be set in config files or in env variables:
- LOG_LEVEL: the log level
- PORT: the server port
- MONGODB_URL: Mongo DB URL
- From the project root directory, run the following command to install the dependencies
npm i
- To run linters if required
npm run lint
npm run lint:fix # To fix possible lint errors
- Start the express server
npm start
- git init
- git add .
- git commit -m init
- heroku create
- heroku config:set MONGODB_URL=...
- git push heroku master
- Import the collection and environment into your POSTMAN app and check out the endpoints