nodeEs7
Instructions
Installing
- 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 install
to install the project dependencies - Run
> npm start
to start live server - go to your browser and hit
localhost:3000
to 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.js
like :const DBOptions = { host: 'localhost', user: 'root', password: '', database:'dokan', dialect: 'mysql' };
[***] use localhost:3000/migration
for create table from model