webdevlapani / user-auth-jwt-node-rest-api

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

node-express-sequalize-starter

This project uses yarn package manager. This project validates the commit message by this convention

Pre-request installation

  • node (latest)
  • NPM (latest)

Install yarn

npm install -g yarn

Install dependencies

yarn

Create new .env file in projectFolder

    copy and paste all thing from .env.example file and do changes according
    set NODE_ENV=production if you wants to run app on production mode

Create one db

    Create one database name as 'VyakarMaster' and set your username and password of mysql database in /server/config/dbConfig.js file

To run the project in development or production mode

yarn start

after runing above script your server will start on localhost:<<PORT set on .env file>>

For creating database migrations

yarn migration:create <migration-name>

For running the database migrations

yarn db:migrate

About

License:MIT License


Languages

Language:JavaScript 100.0%