Skip to content

sohamdodia/product-api-golang

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Techstack

End Points

  • /signup
    • POST /
      • Creates a new user.
      • Requires: name, email, password
      • Accepts: name, email, password
  • /signin
    • POST /
      • User signin.
      • Requires: email, password
      • Accepts: email, password
  • /product
    • GET /
      • Get all products.
      • Requires: No parameters
      • Accepts: No parameters
    • GET /:id
      • Get a single product.
      • Requires: No parameters
      • Accepts: No parameters
    • POST /
      • Creates a new product.
      • Requires: name, oldPrice, newPrice
      • Accepts: name, oldPrice, newPrice
    • PUT /:id
      • Updates a product.
      • Requires: No parameters
      • Accepts: name, oldPrice, newPrice
    • DELETE /:id/
      • Deletes a product.
      • Accepts: No parameters

About

Product APIs in golang with authentication.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages