Classic client-server boilerplate using vanilla Express 4,
- Database: MySQL/MariaDB using node-mysql2. Potentially others may be integrated.
- Anti-ORM model-like simple classes for queries of any complexity.
- Authentication using Passport.js
- Bluebird promises in models
- Gulp for project management
- PM2 for deployment and production
npm install -g pm2, gulp
Clone the repo
npm install
-
For development gulp
-
For production gulp prod
edit pm2.json pm2 deploy pm2.json
Assets structure, Passport code and more were taken from MEAN.js