NodeJS + ExpressJS + PostgreSQL + JWT => Boilerplate
This are the stepes of how you may give instructions on setting up your project locally. To get a local copy up and running follow steps.
You need to use the software and how to install them.
-
Database: We are using
postgreSQL
here. -
npm
$ npm install npm@latest -g
-
Clone the repo
$ git clone https://github.com/KtanPatel/node-sql-starter.git
-
Install NPM packages
$ cd node-sql-starter && npm install
-
Copy
.env.example
to.env
$ cp .env.example .env
-
Run database migration
$ npm run migration
-
Run Server
$ npm start