Skip to content

Latest commit

 

History

History
49 lines (31 loc) · 1.43 KB

README.md

File metadata and controls

49 lines (31 loc) · 1.43 KB

Mongo DB backend demo

Simple RESTful API using MongoDB, Express JS and Node JS for presentation demo to demonstrate how to CRUD operations work using a NoSQL document store database.

mongoDb-demo.gif

Getting Started

  1. Clone repo

  2. Run :

# install dependencies
$ npm i

# Start node server
$ npm start
  1. In the config folder add a file config.env and add the following:
PORT = 8000

MONGO_URI=

Create a db on MongoDB Atlas and insert the MongoDB URI to the config.env file

  1. Using postman POST/GET from the endpoint http://localhost:8000/students

Architecture

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Built With