Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

EndPoints

Products

  1. /api/products -> GET, Public, to get a list od products
  2. /api/products/add -> POST, Private, to add a product
  3. /api/products/delete/:id, POST, Private, to delete a product by id

Users

  1. /api/users/add -> POST -> Public, add a user

Auth

  1. /api/auth/signin -> POST -> Public, authorize user (login)
  2. /api/auth/user -> GET -> Private, gets user