msn2106 / productsapi

REST API made using Express and JSON Placeholder to provide dummy products data.

Home Page:https://productsapi-uvf5.onrender.com/api/products

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

productsapi

REST API made using Express and JSON Placeholder to provide dummy products data.

TO-DO

  1. GET /api/products - List all products - Done
  2. GET /api/products/1 - Get details of product with id = 1 - Done
  3. POST /api/products - Create a new product - Done
  4. PATCH /api/products/1 - Edit the product with id = 1 - Done
  5. PUT /api/products/1 - Add if not present else Edit the product with id = 1 - Done
  6. DELETE /api/products/1 - Delete the product with id = 1 - Done
  7. Integrated JSON placeholder api/ JSON server along with faker or something to generate large chunk of data - Pending

Deployed Endpoint

  1. GET All - https://productsapi-uvf5.onrender.com/api/products
  2. GET Specific Item - https://productsapi-uvf5.onrender.com/api/products/12
  3. PUT, PATCH, DELETE is not allowed.

About

REST API made using Express and JSON Placeholder to provide dummy products data.

https://productsapi-uvf5.onrender.com/api/products

License:MIT License


Languages

Language:JavaScript 100.0%