To access, register a new user or use one from list bellow:
- username: "Caterina" password: "lambdaschool"
- username: "Elena" password: "lambdaschool"
- username: "Marina" password: "lambdaschool"
-
Method:
-
POST
:- Register new user https://marketbw-api.herokuapp.com/api/auth/register
- Log In https://marketbw-api.herokuapp.com/api/auth/login
- Create a new product listing https://marketbw-api.herokuapp.com/api/market/user/:id
-
GET
:- Access list of all users https://marketbw-api.herokuapp.com/api/auth
- Access list of all products https://marketbw-api.herokuapp.com/api/market
- Access products by their id https://marketbw-api.herokuapp.com/api/market/:id
- Access products by user id https://marketbw-api.herokuapp.com/api/market/user/:id
-
PUT
:- Edit product by its id https://marketbw-api.herokuapp.com/api/market/:id
-
Delete
:- Delete product by its id https://marketbw-api.herokuapp.com/api/market/:id
-