This is an e-commerce backend application built using Django and Django REST Framework. It provides the necessary APIs to support various functionalities of an e-commerce website.
- User Management: Registration, login, and authentication for users.
- Product Management: Create, update, and retrieve product information such as name, description, price, stock quantity, etc.
- Category Management: Create, update, and retrieve categories for organizing products.
- Cart Management: Add, update, and remove products from the user's cart.
- Order Management: Place orders, track order status, and manage shipping and billing addresses.
- Review Management: Allow users to rate and provide feedback on products.
- Wishlist Management: Add and remove products from the user's wishlist.
- Promotion Management: Apply discounts and promotions to products.
- Payment Method Management: Store and manage user payment methods.
- Python 3.x
- Django
- Django REST Framework
- Clone the repository:
git clone https://github.com/mark-kibo/E-commerce.git
- Install the dependencies:
pip install -r requirements.txt
- Set up the database:
python manage.py migrate
- Start the development server:
python manage.py runserver
The API documentation can be accessed at http://localhost:8000/api/docs/
. It provides detailed information about the available endpoints, request/response formats, and authentication requirements.
The application settings can be found in the settings.py
file. Update the necessary configurations such as database settings, security settings, and API authentication settings as per your requirements.
Contributions are welcome! If you find any issues or have suggestions for improvements, please create a new issue or submit a pull request.
This project is licensed under the MIT License.
Feel free to customize and enhance this README according to your specific application and project requirements.