Welcome to the backend of the e-commerce website! This project is built using Django and Django REST Framework (DRF). It provides a comprehensive API for managing products, users, baskets, and orders.
- User Authentication: Secure user registration and JWT token-based authentication.
- Product Management: List, retrieve, and manage products.
- Basket Management: Add, remove, and view items in the user's basket.
- Order Management: Place and view orders.
- Python 3.8 or higher
- Django 4.0 or higher
- Django REST Framework
Follow these steps to set up the project locally:
-
Clone the Repository
git clone https://github.com/Anniymm/collaborBackEnd.git cd collaborBackEnd
-
Create and Activate a Virtual Environment
python -m venv venv source venv/bin/activate # On Windows, use `venv\Scripts\activate`
-
Install Dependencies
pip install -r requirements.txt
- GET
/swagger/
- API documentation.
Welcome contributions to this project! If you'd like to contribute, please follow these steps:
-
Fork the Repository
Click the "Fork" button at the top right of the repository page to create your own copy.
-
Create a New Branch
git checkout -b feature-branch
-
Make Your Changes
Implement your feature or fix.
-
Commit Your Changes
git add . git commit -m "Describe your changes"
-
Push to Your Fork
git push origin feature-branch
This project is licensed under the MIT License. For more details, please see the LICENSE file.