- Authentication (passport & JWT)
- Validation
- Password Encryption (bcryptjs)
- Authorization and Access level control
- Database configuration with Sequelize ORM
- CORS (Bonus)
- clone this repository
cd node-express-boilerplate- run
yarn install - configure your database by creating a .env file in your project root directory with contents similar to
make sure to replace the values with yours
DB_HOST=localhost DB_NAME=test DB_USERNAME=root DB_PASSWORD= DB_DIALECT=mysql - be sure to have
nodemoninstalled - yarn run dev
- if you don't have
nodemoninstalled, change yourdevscript in package.json tonode --exec babel-node src/index.js
- run
yarn run buildto generate the build folder - upload the build server to your server
"# crime-report-system-backend" "# crime-report-system-backend" "# crime-report-system-backend"