(Base Expres Project) Expres Base Setup use Model, View, Controller Pattern.
- Node JS - Download and Install NodeJS
- Clone repository
$ git clone https://github.com/Zainal21/ExpressJS-Boilerplate-with-ORM-Sequelize.git- move to directory project and Install depedencies
$ cd ExpressJS-Boilerplate-with-ORM-Sequelize
$ yarn install or npm install-
Setup your environment variable in
.envfiles or rename.env.example to .env. -
run initialize sequalize then change config.json to config.js and copy value in config.example to config.js and change path config.json to config.js in models index.js file
$ yarn db:init- run script for migration , seeder and drop all data
$ yarn db:reset- run script for runnig development server using nodemon
$ yarn devCopyright © 2023 by Muhamad Zainal Arifin