You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The HexaMart Backend is a robust and scalable RESTful API built using FastAPI and MySQL. It is designed to handle user authentication, product listings, cart management, and order processing, with an admin panel for managing products and orders.
This documentation provides a detailed walkthrough of the backend, covering architecture, API endpoints, database interactions, and security measures.
2. Tech Stack
Language: Python 3.10+
Framework: FastAPI (High-performance, async API framework)
Database: MySQL (With SQLAlchemy ORM)
Authentication: JWT (JSON Web Token)
Security: OAuth2 with Password Flow, Password Hashing (bcrypt)
Middleware: CORS, Exception Handling
Server: Uvicorn (ASGI Server)
Deployment: Docker, Nginx (Optional)
3. Project Structure
The backend follows modular architecture to ensure separation of concerns.
The HexaMart backend is secure, scalable, and optimized. It follows best practices in authentication, security, and database management. This documentation serves as a reference for understanding and modifying the backend as needed.
About
The HexaMart Backend is a robust and scalable RESTful API built using FastAPI and MySQL. It is designed to handle user authentication, product listings, cart management, and order processing, with an admin panel for managing products and orders.