Skip to content

AA-IT-WebTechCourse/webshopproject2024-ahmadimam657

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Webshop Project

👤 Developer Info


✅ Implemented Requirements

🟩 Mandatory Requirements (24p)

# 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)

🟨 Optional Requirements (18p)

# 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

🚀 How to Run the Project

🔧 Backend Setup (Django)

  1. Navigate to the backend folder:

    cd backend
  2. Create a virtual environment:

    python3 -m venv env
  3. Activate the virtual environment:

    • On Linux / macOS:

      source env/bin/activate
    • On Windows:

      .\env\Scripts\activate
  4. Install project dependencies:

    pip install -r requirements.txt
  5. Apply migrations and start the development server:

    python manage.py migrate
    python manage.py runserver 

🌐 Frontend Setup (React)

  1. Navigate to the frontend folder:
    cd frontend
  2. Install dependencies:
    npm install
  3. Start Server:
    npm start

About

webshopproject2024-ahmadimam657 created by GitHub Classroom

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors