Build a Restful CRUD API for a simple Note-Taking application using Node.js, Express and MongoDB.
- Node and npm
- MongoDB: Make sure you have your own local or remote MongoDB database URI configured in
config/db.config.json
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