Skip to content
This repository has been archived by the owner on Aug 14, 2021. It is now read-only.

aa-deet-eeya/ShopAPI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ShopAPI

[To be updated...] A badly coded RESTful API And equally bad docs

Current Roles in the API include -admin -user

and main features in this include -cart -products -users

Endpoints

tldr :

  • /products/
  • /cart/
  • /users/

For Users

Unauthenticated Users

POST

  • /users/signup
  • /users/login

GET

  • /products/
  • /products/:id

Authenticated Users

POST

  • /cart/new
  • /cart/

GET

  • /cart/:CardId

DELETE

  • /cart/:ProductId

Admin

POST

  • /products/

GET

  • /users/
  • /users/:userId
  • /cart/
  • /cart/:cartId

DELETE

  • /users/:userId
  • /products/:id
  • /cart/:cartId

PATCH

  • /products/:id

About

A badly coded RESTful API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published