This mini project for RestFul Api using Node JS and Javascript.
-app
--handler
--storages
--models
--middleware
--routes
-config
-migrations
-seeders- Rest Api is handler and business logic
- There is 2 model (merchant, product)
There is 2 table:
- Merchants
- Products
npm install --save sequelize-cli
npm install
sequelize db:migrate
//command for run live reload
npm run dev
//command for run normal
npm run start
//running test jest
npm run testyou can see all api documentation on file spec.md
