Skip to content
/ RestMen Public

A REST API With Node.js, Express, & MongoDB

Notifications You must be signed in to change notification settings

sunn-e/RestMen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RestMen

A REST API With Node.js, Express, & MongoDB

npm init

dependencies

npm i express mongoose

dev dependencies

npm i --save-dev dotenv nodemon npm run devStart

Mongodb

  • mongodb instructions here
  • `"C:\Program Files\MongoDB\Server\4.4\bin\mongo.exe" with admin privilage on windows
  • use subscribers

tip: The db is created but won't show unless you put something in it.

How to test REST?

  • If you are using VSCode,like me, Get the REST Client extension.
  • Make a new route.rest or route.http file inside routesfolder.
  • Add GET http://loalhost:3000/subscribers to get rest send request option generated by the extension.

About

A REST API With Node.js, Express, & MongoDB

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published