Skip to content

mohaimenhasan/ExpressJS-CRUD-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mohaimen's Basic CRUD API

This API can create, read, update and destroy products.

To run and test functionality do the following:

  • 1. git clone repo
  • 2. cd into the repo
  • 3. install all module: npm install
  • 4. run the server in dev mode: npm run dev
  • 5. You will need a mongoDB uri: create you db link and put in dev_url under app.js
  • 6. Test out the functionality using any API tester: POSTMAN
  • Examples of postman commands:

  • create: http://localhost:3000/products/create [POST Request]
  • udpate: http://localhost:3000/products//update [PUT request]
  • Delete: http://localhost:3000/products//delete [DELETE request]
  • Fetch: http://localhost:3000/products/ [GET request]
  • About

    API to (C)reate, (R)ead, (U)pdate and (D)estroy using ExpressJs and MongoDB

    Resources

    Stars

    Watchers

    Forks

    Releases

    No releases published

    Packages

     
     
     

    Contributors