/A-Simple-Nodejs-API-Backend

A simple CRUD API built using nodejs, mongodb atlas and express js.

Primary LanguageJavaScript

A Simple Nodejs CRUD API Backend

Install project on localhost(make sure you have nodejs installed)

git clone github.com/louis103/A-Simple-Nodejs-API-Backend.git
cd A-Simple-Nodejs-API-Backend
run npm i
run npm run dev

Instructions on setting up mongodb atlas: for backend database

Head over to mongodb atlas and create an account and a project.

Next create a mongodb database...

Next create a mongodb collection, in this case a Products collection just as the database model

CRUD API; CREATING products using Postman software.

READ; fetch all products from the mongodb database

UPDATE; update a product in mongodb database using product ID

DELETE; delete a product in mongodb database using product ID

View data in mongodb atlas ui