Nodejs (express server) with sequelize as ORM and postgres as database. RabitMQ is used to mimic microservices. where as nodemailer is used as mailer. This project gives the basic stucture of application with user CRUD & Signup forgotpassword and login session managment API's.
Back-end - Node.js (^10.16.0) Package manager - npm (^6.9.0) Sequelize RabitMQ nodemailer aws s3 bucket fs jsonwebtokens
NodeJS
NPM
- RabitMQ a microService mesaging protocol. Install it if want to use Micro service acrhitechture (else just comment line 52 in app.js)
https://www.vultr.com/docs/how-to-install-rabbitmq-on-ubuntu-16-04-47
postgresql
- Clone the project.
- Run
npm install
to install node dependencies. - In the same terminal/command window, set an environment
"DEBUG=*"
(If you want debugging on) - Add data base credentials to server/config/config.json (You can take config.example as reference)
- Add fill up .env
- Run migration
sequelize db:migrate
- Run
npm start
to start dev server. - listen to port 8001.
- Run
npm run lint
to lint app , server/ , bin/.
- awaisayub149 - Initial work - awaisayub149@gmail.com