- Name: Hafiz Muhammad Ahmad Imam
- Email: hafiz.imam@abo.fi
| # | Requirement | Status |
|---|---|---|
| 1 | Project folder with readme, backend (requirements.txt), frontend (package.json) |
✅ |
| 2 | Backend using Django, JSON for shop, HTML for landing | ✅ |
| 3 | Frontend with React | ✅ |
| 4 | Automatic DB population via landing page | ✅ |
| 5 | Browse items with title, description, price, date | ✅ |
| 6 | Create account (username, password, email) | ✅ |
| 7 | Login with username and password | ✅ |
| 8 | Add item (Title, Description, Price, Date auto) | ✅ |
| 9 | Add to cart (excludes own items) | ✅ |
| # | Requirement | Status |
|---|---|---|
| 10 | Search by title (API-based) | ✅ |
| 11 | Remove from cart | ✅ |
| 12 | Pay with price check, availability, update status | ✅ |
| 13 | SPA Routing (/, /signup, /login, /account, /myitems) | ✅ |
| 14 | Edit account password | ✅ |
| 15 | Display inventory (onsale, sold, purchased) | ✅ |
| 16 | Edit item price (if on sale) | ✅ |
| 17 | UI is desktop-friendly and easy to use | ✅ |
-
Navigate to the backend folder:
cd backend -
Create a virtual environment:
python3 -m venv env
-
Activate the virtual environment:
-
On Linux / macOS:
source env/bin/activate -
On Windows:
.\env\Scripts\activate
-
-
Install project dependencies:
pip install -r requirements.txt
-
Apply migrations and start the development server:
python manage.py migrate python manage.py runserver
- Navigate to the frontend folder:
cd frontend - Install dependencies:
npm install
- Start Server:
npm start