Skip to content

Latest commit

 

History

History
89 lines (65 loc) · 2.39 KB

README.md

File metadata and controls

89 lines (65 loc) · 2.39 KB

Online Shop Application

This project is an Online Shop Application built with React for the frontend, Django for the backend, and PostgreSQL database. It includes functionalities for managing products, orders, stock, and customer information. Users can browse products, add items to their shopping cart, and proceed through checkout with a choice of delivery plans and payment methods.

Table of Contents

Introduction

The Online Shop Application provides a platform for customers to browse products, add them to a shopping cart, and place orders. It also includes functionality for managing products, customer accounts, and inventory, accessible through a web interface.

Features

  • Customer Features:

    • Search and browse products
    • Add products to a shopping cart
    • Place orders
    • Manage credit cards and addresses
    • View order history
  • Staff Features:

    • Add, delete, and modify products and prices
    • Manage product inventory across warehouses

Setup

To run the project locally, follow these steps:

  1. Prerequisites:

    • Python 3
    • Django
    • Django REST Framework
    • Django Cors Headers
    • psycopg2
    • PostgreSQL
    • Node.js
    • npm
  2. Clone the repository:

    git clone https://github.com/qme02/Online-Shopping-Application.git
    cd Online-Shopping-Application
    
  3. Install dependencies:

    pip install -r requirements.txt
    
  4. Apply database migrations:

    python manage.py makemigrations
    python manage.py migrate
    
  5. Create a superuser (for accessing Django Admin):

    python manage.py createsuperuser
    
  6. Run the server:

    python manage.py runserver
  7. Run the React UI client

    npm start
    
  8. Access the server API:

    Open a web browser and go to http://127.0.0.1:8000/

  9. Access the website:

    Open a web browser and go to http://127.0.0.1:3000/

Usage

Once the server is running and you've accessed http://127.0.0.1:3000/, you can:

  • Log in as a customer or staff member.
  • Browse products, add them to your cart, and place orders.
  • Manage products, prices, and inventory (staff only).

Contributors

  • Almaamar Alkiyumi - Backend Developer
  • Jacob Towne - Web Developer
  • Joe Ferguson - SQL Developer
  • Zach Reising - Web Developer