Skip to content

jasonjin220/express-rest-api-boilerplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Node/Express/Mongoose REST API Boilerplate supporting ES6 module

Build a Restful CRUD API for a simple Note-Taking application using Node.js, Express and MongoDB.

Requirements

  • Node and npm
  • MongoDB: Make sure you have your own local or remote MongoDB database URI configured in config/db.config.json

Steps to Setup

Clone the repository:

git clone [email protected]:jasonjin220/es6-express-rest-api-boilerplate.git

Set environment (vars):

cp .env.example .env

Install dependencies:

npm install

Place your own MongoDB URI in config/db.config.json

Run the server in dev mode:

npm run dev

Deployment:

npm run build
npm start

View in browser at http://localhost:3000

Releases

No releases published

Packages

No packages published