Welcome to the Ecommerce Shopping App Backend! This project provides the backend functionality for an Ecommerce Shopping App, including user management, product management, order processing, and more.
- Admin Dashboard: Secure admin login, manage order status, view order history.
- User Management: Register new users, user login, manage user profiles.
- Product Management: Add, update, and delete products, manage product inventory.
- Shopping Cart Processing: Add items, update quantity, remove items, get items, calculate total prices.
- Order Processing: Complete purchase, get-order.
- API Documentation: Detailed documentation of API endpoints for easy integration with frontend or external systems.
- FastAPI: A modern, fast (high-performance), web framework for building APIs with Python 3.7+.
- MongoDB: A NoSQL document database for storing user data, product information, and order details.
- Pydantic: Data validation and settings management using Python type annotations.
- Cloudinary: Cloud-based image and video management platform for storing and serving product images.
- bcrypt: Password hashing library for securing user passwords.
-
Clone the repository:
git clone https://github.com/anurag-b72/ecommerce-shopping-backend.git
-
Create virtual environment:
cd ecommerce-shopping-backend python -m venv venv
-
Open virtual environment:
.\venv\Scripts\activate
-
Install dependencies:
pip install -r requirements.txt
-
Run the application:
uvicorn main:app --reload
-
To close application and virtual environment:
Press
CTRL/CMD + C
deactivate