Node.js REST API with:
- JWT Authentication ( jsonwebtoken )
- Mail Service ( nodemailer )
- Queue jobs ( kue, Redis)
- Validation ( joi )
- MongoDB ( mongoose )
- Error reporting (dev-mode) ( youch )
- Error tracking (production-mode) ( sentry )
- Clone the repository.
- You will need Mongo installed in your machine or a docker container (
mongoimage recommended). - You will need Redis installed in your machine or a docker container (
redis:alpineimage recommended). - Setup the environment variables (dotenv). Rename file
.env-exampleto just.envand fill in the variables. *Remember to changeNODE_ENVtoproductionif you host it online. *You will need a sentry.io account for Error tracking. - In root folder run
npm install. - In root folder run
npm start.