Skip to content

NyashaNziramasanga/document-store-database-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

20 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

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

About

๐Ÿ—„๏ธ MongoDB Atlas backend demo ๐Ÿ—„๏ธ

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published