nodejs-project-structure
nodejs-project-structure copied to clipboard
Simple Nodejs project structure with API versioning, built on express.js and ECMA6.
trafficstars
NodeJS Project Structure
Getting started
Install Node
$ curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.0/install.sh | bash
$ nvm install 10.5.0
$ nvm use 10.5.0
Clone this repo (and cd to it)
$ git clone https://github.com/kapilbarad/nodejs-project-structure.git
$ cd nodejs-project-structure
Install Dependencies
$ npm install
Load env vars
cp .env-example .env
Input the desired environment variables in .env.
Start the server
$ npm run start