An ES6/ES7 Express.js RESTful API starter project following best practices and Airbnb javascript style guide with JWT-based authentication, Socket.io real-time updates, multer file upload and nodemailer email notifications integration.
- Node.js v9
- Express.js v4
- Socket.io v2
- MongoDB v3.6
- Docker
- Clone the repo
npm i
-
- Development:
npm start
- Production:
npm i -g pm2
NODE_ENV=production pm2 start ./bin/www
- Development:
- Clone the repo.
-
- Development:
docker-compose -f docker-compose.dev.yml up
- Production:
docker swarm init
docker stack deploy -c docker-compose.yml express-seed-project
- Development:
Ⓒ Omar Doma 2018