Welcome to the README file for the Online Shopping Application project. This project aims to develop a comprehensive online shopping platform using a PostgreSQL database backend.
In this project, each group builds its own online shopping application. The backend is powered by a PostgreSQL database that stores information about products, their availability, orders, customer details, and staff information for the store.
The project has three main deliverables:
- Developed an Entity-Relationship (ER) model for the application.
- Submit the ER model in jpeg, png, or pdf format.
- Translate the ER model into a relational schema implemented as an SQL script.
- The script should use PostgreSQL dialect and execute without errors.
- Define tables, constraints, and create indices where appropriate.
- Submit the script as a simple
.sql
file.
- Develop an online shopping application using the relational schema defined in the first two deliverables.
- The application can be either a web or desktop application.
- Search for products and look up information about products.
- Set up an account and change preferences and account details.
- Order products and make payments.
- Record customer details such as name, addresses (for delivery and payment), and credit card information.
- Maintain the current balance of the customer’s account.
- Modify and create products, update product availability, query customer information, and process orders.
- Record staff details such as name, address, salary, and job title.
- Product: Store details such as type, brand, size, and description.
- Warehouse: Record the address of each warehouse.
- Stock: Record the quantity of each product in each warehouse.
- Product Price: Maintain the prices for products.
- Orders: Record order details, including status and payment method.
- Delivery Plan: Maintain delivery type, price, date, and ship date.
- Store supplier information including address and name.
- Record supplier-specific prices for items.
- Maintain warehouse sizes and ensure new stock additions do not exceed capacity.
- Search and browse products, add to cart, and place orders.
- Add, delete, and modify credit cards and addresses.
- Add, delete, and modify products and set product prices.
- Manage stock in warehouses.
- Verify product availability when an order is submitted.
- Provide images for products.
- Ensure warehouse capacity is not exceeded when adding new stock.
- Ensure you have Node.js and Next.js installed.
- Clone the repository.
- Navigate to the project directory.
- Install dependencies:
npm install
- Run the development server:
npm run dev
- Open [http://localhost:3000](http