Skip to content

Latest commit

 

History

History
36 lines (28 loc) · 865 Bytes

File metadata and controls

36 lines (28 loc) · 865 Bytes

WebShop

Author

Implemented Requirements:

    1. Project folder structure
    1. Backend using Django (JSON for shop page, HTML for landing page, SQLite DB)
    1. Frontend in React
    1. Automatic DB population
    1. Browse items
    1. Create account
    1. Login
    1. Add item
    1. Add to cart
    1. Additional requirements implemented?

How to run the application:

Backend

  1. Create a virtual environment (optional but recommended)
  2. cd backend
  3. pip install -r requirements.txt
  4. python manage.py migrate
  5. python manage.py runserver

Frontend

  1. Open another terminal
  2. cd frontend
  3. npm install
  4. npm start

Open http://localhost:3000 (for React) and http://127.0.0.1:8000 (for Django).