- Make sure you have these installed
- Clone this repository into your local machine using the terminal (mac) or Gitbash (PC)
> git clone https://github.com/jahir9991/nodeEs7.git - CD to the folder
cd nodeEs7/node-api - Run
> npm installto install the project dependencies - Run
> npm startto start live server - go to your browser and hit
localhost:3000to start live server - api end point
localhost:3000/api/v1 - user api end point
localhost:3000/api/v1/users - set database cradentian in
libs/mysqlConnect.jslike :const DBOptions = { host: 'localhost', user: 'root', password: '', database:'dokan', dialect: 'mysql' };
[***] use localhost:3000/migration for create table from model