Skip to content

Latest commit

 

History

History
14 lines (10 loc) · 541 Bytes

README.md

File metadata and controls

14 lines (10 loc) · 541 Bytes

api-starter

Quick starter example for Node.JS Restful API

Based on https://medium.com/codex/building-a-simple-crud-app-with-node-js-express-js-and-mongodb-6e96d13edae7

Read the accompanying blog post at https://andrewbeeken.co.uk/2021/06/27/a-basic-rest-api-starter-using-node-js-and-mongodb/

  • Fork the repo and clone
  • Install the dependencies with npm install
  • Set up and connect your MongoDB in the dbConfig.js file
  • Change the models, controllers and routes to suit your data
  • Run the server with npm start
  • Test with Postman