Skip to content

nabadeep25/typescript-node-sequelize-boilerplate

Repository files navigation

Typescript-Node-Sequelize-Boilerplate

  • Node (TypeScript)
  • MySql

Getting started

npm install

npm run build-ts

npm start

For development

npm install

npm run watch

Sample .ENV

DB_HOST=localhost
DB_NAME=name
DB_PASSWORD=password
DB_PORT=3306
DB_TYPE=mysql
DB_USER=username
PORT=5000



TOKEN_EXPIRY_HOUR=168
SECRET=askjfghhwifuhgw

EMAIL_SERVICE=gmail
EMAIL_USER=you@email.com
EMAIL_PASS=fzobeitqjcxklenm
EMAIL_FROM=admin@email.com

OTP_EXPIRY_MIN=10
OTP_SECRET=shgdbnbgw