Loading repository data…
Loading repository data…
SehrAQureshi / repository
Flask-based RESTful E-Commerce API with user authentication, product, cart, and order management.
A transparent discovery signal based on current public GitHub metadata.
This score does not audit code, security, maintainers, documentation quality, or suitability. Verify the repository and its current documentation before adoption.
A lightweight e-commerce backend built with Flask and SQLite. This project simulates a full shopping experience, from user authentication to product management, cart handling, and order processing.
Managing products, users, and orders is the backbone of any online store. This API provides a practical framework for learning backend development, handling database operations, and implementing secure token-based authentication. It can serve as a starting point for building more complex e-commerce applications.
POST /register – Register a new userPOST /login – Login and receive auth tokenPOST /logout – Logout userGET /categories – List all categoriesGET /products – List all productsGET /products/<id> – Get product detailsPOST /products – Create a new product (Auth required)PUT /products/<id> – Update product details (Auth required)DELETE /products/<id> – Delete product (Auth required)GET /cart – View user's cart (Auth required)POST /cart – Add item to cart (Auth required)DELETE /cart/<id> – Remove item from cart (Auth required)POST /orders – Place order (Auth required)GET /orders – List user orders (Auth required)POST /init – Initialize database with sample categories and productsUser --> /register or /login --> Receive Token
User --> /products --> Browse Products
Auth --> /products (POST/PUT/DELETE) --> Manage Products
Auth --> /cart (POST/GET/DELETE) --> Manage Cart
Auth --> /orders (POST/GET) --> Place and Track Orders
Sehr Qureshi