Skip to content

saulin18/Django-backend-ecommerce

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

E-commerce Django

Backend maded in Django for a E-commerce platform.

API Reference

Get all items

 /orders/

Get item

 /orders/{id}/
Parameter Type Description
id integer Required. Id of item to fetch
POST /orders/add

Just add a order

PUT /orders/deliver/{id}
Parameter Type Description
id integer Required. Id of item to update
GET /orders/my

Get my orders

GET /products

Get all

GET /products
GET /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/post

Create 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/login

AUTH IMPLEMENTED WITH JWT

POST /users/refresh/

Refresh token

POST /users/register/

Create a user

/users/users/

Get all users

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages