π My Shop - Django Project
A simple Django web application to manage customers and their purchases. This project is built as a beginner-friendly backend system to practice Django fundamentals.
π Features Add new customers View customer list View customer details Add purchases for each customer Calculate subtotal and total automatically Simple and clean UI πΌοΈ Screenshots Customer List
Add Customer
Customer Purchases
π§ Project Idea
This project simulates a small shop system where:
Each customer has a name and phone number Each customer can have multiple purchases Each purchase includes: Product name Price Quantity The system calculates: Subtotal (price Γ quantity) Total for all purchases π οΈ Technologies Used Python Django HTML / CSS SQLite (default database) βοΈ Installation Clone the repository: git clone https://github.com/Firas-coder/my-shop.git cd my-shop Create virtual environment: python -m venv venv source pyvenv/bin/activate # on Linux/Mac pyvenv\Scripts\activate # on Windows Install dependencies: pip install -r requirements.txt Apply migrations: python manage.py migrate Run the server: python manage.py runserver Open in browser: http://127.0.0.1:8000/ π Project Structure (Simplified) my_shop/ βββ customers/ βββ templates/ βββ db.sqlite3 βββ manage.py π‘ Future Improvements Add authentication (login/logout) Improve UI with Bootstrap Add product management Export invoices (PDF) Add search and filtering π¨βπ» Author
Firas GitHub: https://github.com/Firas-coder