Skip to content

Fashion Store Django Backend API | This API provides endpoints to manage clients, sales, inventory, and revenue for a fashion store.

Notifications You must be signed in to change notification settings

coderbenny/django-store-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fashion Store Django Backend API

Welcome to the Fashion Store Django Backend API! This API provides endpoints to manage clients, sales, inventory, and revenue for a fashion store.

Author

Benny Hinn

Endpoints

Get All Clients

  • URL: /api/clients/
  • Method: GET
  • Description: Fetches all clients from the database.

Get All Sales

  • URL: /api/sales/
  • Method: GET
  • Description: Retrieves all sales records from the database.

Get Number of Sales

  • URL: /api/total-sales/
  • Method: GET
  • Description: Retrieves all sales records from the database.

Get Total Revenue

  • URL: /api/total-revenue/
  • Method: GET
  • Description: Calculates and returns the total revenue generated from all sales.

Get Inventory

  • URL: /api/inventory/
  • Method: GET
  • Description: Retrieves the current inventory of products available in the store.

Get All Clients

  • URL: /api/clients/
  • Method: POST
  • Description: Retrieves all clients from the database.

Technologies Used

  • Django
  • Django REST Framework
  • SQLite

About

Fashion Store Django Backend API | This API provides endpoints to manage clients, sales, inventory, and revenue for a fashion store.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages