This is a Python (Django) version of an e-commerce platform with JWT authentication.
- Product catalog
- Shopping cart functionality
- User authentication with JWT
- Admin dashboard
- Blog posts
- Contact form
- Clone the repository
- Create a virtual environment:
python -m venv venv
- Activate the virtual environment:
- Windows:
venv\Scripts\activate
- Linux/Mac:
source venv/bin/activate
- Windows:
- Install dependencies:
pip install -r requirements.txt
- Run migrations:
python manage.py migrate
- Create a superuser:
python manage.py createsuperuser
- Run the development server:
python manage.py runserver
ecommerce/
- Main Django projectcore/
- Core application for shared functionalityproducts/
- Product management appcart/
- Shopping cart appaccounts/
- User authentication and managementblog/
- Blog post managementcontact/
- Contact form functionality
This project uses JWT (JSON Web Tokens) for authentication. Tokens are provided upon login and must be included in the Authorization header for protected API endpoints.