Skip to content

RonaldMule/StoreManager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 

Repository files navigation

"# StoreManager" #API endpoints

Build Status

##Required Features


    1. Store attendant can search and add products to buyer’s cart.
    2. Store attendant can see his/her sale records but can’t modify them.
    3. App should show available products, quantity and price.
    4. Store owner can see sales and can filter by attendants.
    5. Store owner can add, modify and delete products.

##Tools


    • Server-Side Framework: <Flask Python Framework>
    • Linting Library: <Pylint, a Python Linting Library>
        • Style Guide: <PEP8 Style Guide>
    • Testing Framework: <PyTest, a Python Testing Framework>
EndPoint Functionality Notes
GET /products Fetch all products Get all available products.
GET /products/ Fetch a single product record Get a specific product using the product’s id.
GET /sales Fetch all sale records Get all sale records. This endpoint should be accessible to only the store owner/admin.
GET /sales/ Fetch a single sale record Get a specific sale record using the
POST/PODUCTS Create a product Create a new product record.This point should be accessible to only the store owner/admin
POST /sales Create a sale order Create a sale record. This endpoint is accessible to only the store attendant.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published