Skip to content

Latest commit

 

History

History
executable file
·
39 lines (29 loc) · 758 Bytes

README.md

File metadata and controls

executable file
·
39 lines (29 loc) · 758 Bytes

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