Skip to content

fikriomar16/express-sequelize-boilerplate

Repository files navigation

express-sequelize-boilerplate

Express.js Sequelize

still on progress, update soon !!

Tips

  • VS Code

Add these lines to your settings.json

"javascript.preferences.importModuleSpecifierEnding": "js"

Usage

  • Install Dependencies

(npm/yarn/pnpm) install

  • Run

(npm/yarn/pnpm) start

  • Run Testing Unit

(npm/yarn/pnpm) test

  • Run Testing Unit with Debug

(npm/yarn/pnpm) test:debug

Development Mode

  • Run (Development)

(npm/yarn/pnpm) dev

Configs

  • env
variable value
NODE_ENV development/production/test
APP_NAME your app name
APP_HOST your app host
APP_PORT your app port
ACCESS_TOKEN_SECRET secret key for token
REFRESH_TOKEN_SECRET secret key for cookies
DB_USERNAME_* db username
DB_PASSWORD_* db password
DB_DATABASE_* db name
DB_HOST_* db host
DB_PORT_* db port

About

Express + Sequelize Boilerplate

Resources

Stars

Watchers

Forks