Skip to content

Latest commit

 

History

History
69 lines (61 loc) · 1.52 KB

README.md

File metadata and controls

69 lines (61 loc) · 1.52 KB

🛒 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