Skip to content

an nodeJS application build using framework using expressJS, connected the mongoDB, get post methods, getallusers, addform, find

Notifications You must be signed in to change notification settings

muhammad-hamza-liaqat/RESTful-API-in-expressJS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RESTful-API-in-expressJS

an nodeJS application build using framework using expressJS, connected the mongoDB, get post methods, getallusers, addform, find

just type localhost:3000 we will be redirected to the home page. localhost:3000/getallusers this is fetch all the users from the database, and return the response in the form of JSON. localhost:3000/finduser/:id pass the ID here, search it in objectID in mongoDB localhost:3000/adduserbyform it will render the form and fill the form, it will add the following things into the database

About

an nodeJS application build using framework using expressJS, connected the mongoDB, get post methods, getallusers, addform, find

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published