CS4092: Database Design & Development (Team 15)
tripleD is an online shopping application developed for the CS4092 course, utilizing a React frontend with a Python/PostgreSQL database to manage products, availability, customer orders, and staff information.
- ER-Model: A visual representation of the database structure.
- Relational Schema: SQL scripts to implement the ER model.
- Application: A functional online shopping application.
- er/: ER model files.
- sql/: SQL scripts for the relational schema.
- code/: Source code for the application.
- User Management: Registration, authentication, and profile management.
- Product Catalog: Browse, search, and filter products.
- Shopping Cart: Add, remove, and manage cart items.
- Order Processing: Checkout, order history, and order tracking.
- Admin Panel: Manage products, categories, and users.
-
Clone the repository:
git clone https://github.com/sesemeseeds/tripleD.git cd tripleD -
Database Setup:
- Install PostgreSQL.
- Create new database named 'shop' under default host (localhost) and port 5432
- Run the scripts in the
sql/folder to set up the database schema and initial data.
-
Install Dependencies:
- Navigate to the
code/frontenddirectory. - Install the required dependencies using the package manager (e.g., npm, pip).
- Navigate to the
-
Run the Application:
- Start the backend server in
code/backendusing commandpython3 manage.py runserver(have python installed). - Open the frontend interface in your browser using
npm run startincode/frontend.
- Start the backend server in