- 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
nodemon
installed - yarn run dev
- if you don't have
nodemon
installed, change yourdev
script in package.json tonode --exec babel-node src/index.js
- run
yarn run build
to generate the build folder - upload the build server to your server
"# alumni-server" "# alumni-server"