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.
-
Clone repo
-
Run :
# install dependencies
$ npm i
# Start node server
$ npm start
- In the
config
folder add a fileconfig.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
- Using postman POST/GET from the endpoint
http://localhost:8000/students
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.