This is a fully functional e-commerce platform built with Django and styled using Tailwind CSS. The app includes modular components for managing products, categories, orders, carts, and an admin interface, providing a scalable solution for building an online store. It is designed to be extendable, with future plans for payment integration and shipment management.
The app is currently deployed on pythonanywhere for seamless cloud hosting.
Modular Apps:
Tech Stack:
Future Enhancements:
The database structure is designed based on the following ERD diagram, created using Lucidchart.
You can view the complete ERD diagram here:
The database includes tables for products, categories, orders, carts, and other essential data related to an e-commerce system.
Follow these steps to set up the project locally:
Clone the repository:
git clone https://github.com/a95z/django-e-commerce.git e-commerce
Navigate to the project folder:
cd e-commerce
Install Poetry:
Set up the project using Poetry:
poetry install
Activate the Poetry virtual environment (optional):
poetry shell
poetry run
(e.g., poetry run python manage.py runserver
).Install Node.js dependencies for frontend:
npm install
Build Tailwind CSS and start watching for changes:
npm run tw:build
static/css/tw.dev.css
file.static/css/tw.css
.Apply migrations:
poetry run python manage.py migrate
Create a superuser for the Django admin interface (optional):
poetry run python manage.py createsuperuser
Run the development server:
poetry run python manage.py runserver
Open your browser and go to http://127.0.0.1:8000 to see the app in action.
venv
.python manage.py ...
) should be prefixed with poetry run
if you’re not inside the Poetry shell.poetry add <package-name>
instead of manually editing requirements.txt
.Contributions are welcome! Feel free to fork this repository and submit pull requests for new features, bug fixes, or improvements. Please follow the existing code style and include tests where applicable.
This project is open-source and available under the MIT License.
This project was created and is maintained by Abdurezak Farah. Feel free to reach out for any questions or collaboration!
Note: This README is for the current version of the Inventory management system / e-commerce app. Future updates will include details about payment integration, shipment management, and other new features as they are developed.