- Use Sequelize ORM
- Yarn
npm install -g sequelize-cli
yarn add sequelize
If use want to custom path in sequelize
touch .sequelizerc
And run command for create model and migrate
sequelize init
sequelize db:create --env development
sequelize model:generate --name User --attributes firstName:string,lastName:string,email:string
yarn start:dev-server