Backend maded in Django for a E-commerce platform.
/orders/ /orders/{id}/| Parameter | Type | Description |
|---|---|---|
id |
integer |
Required. Id of item to fetch |
POST /orders/addJust add a order
PUT /orders/deliver/{id}| Parameter | Type | Description |
|---|---|---|
id |
integer |
Required. Id of item to update |
GET /orders/myGet my orders
GET /productsGet all
GET /productsGET /products/cate/{category}/Get all products with a category in specific
| Parameter | Type | Description |
|---|---|---|
category |
string |
Required. category of item to fetch |
DELETE /products/delete/{id}/| Parameter | Type | Description |
|---|---|---|
id |
integer |
Required. id of item to delete |
PUT /products/edit/{id}/| Parameter | Type | Description |
|---|---|---|
id |
integer |
Required. Id of item to update |
GET /products/get/{slug}| Parameter | Type | Description |
|---|---|---|
slug |
string |
Required. slug of item to fetch |
GET /products/get/admin/{id}/| Parameter | Type | Description |
|---|---|---|
id |
integer |
Required. Id of item to fetch |
POST /products/postCreate a product
POST /products/review/{id}Create a review for a product
| Parameter | Type | Description |
|---|---|---|
id |
integer |
Required. Id of item to find |
GET /products/search/POST /users/loginAUTH IMPLEMENTED WITH JWT
POST /users/refresh/Refresh token
POST /users/register/Create a user
/users/users/Get all users