kapilbarad / nodejs-project-structure

Simple Nodejs project structure with API versioning, built on express.js and ECMA6.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Simple Nodejs project structure with API versioning, built on express.js and ECMA6.

License:MIT License


Languages

Language:JavaScript 100.0%