- TIO MARIANA
- IRA WIDYA SRI REZEKI
- INDRIYANI
- SARI SEPTIANI LUMBAN TOBING
- NURUL MAHARANI
This repository contains the Entity-Relationship Diagram (ERD) for our database project. The diagram visualizes the structure and relationships between tables used in the database.
- Users ↔ Carts: One-to-Many relationship (1 user can have multiple carts).
- Products ↔ Carts: One-to-Many relationship (1 product can appear in multiple carts).
- Categories ↔ Products: One-to-Many relationship (1 category can include multiple products).
- Users ↔ Orders: One-to-Many relationship (1 user can place multiple orders).
- Users ↔ Wishlists: One-to-Many relationship (1 user can have multiple wishlist items).
- Products ↔ Wishlists: One-to-Many relationship (1 product can appear in multiple wishlists).
This project is an e-commerce platform (Pku-Shop) designed to manage products, users, and transactions efficiently. The key functionalities include:
-
Banner Management (
banners
table)
Used to display promotional banners on the website. Admins can activate or deactivate banners and associate them with images and descriptions. -
Product Catalog (
products
,categories
, andbrands
tables)- Products are organized into categories and associated with brands.
- Each product has attributes such as stock, size, condition, price, and discount.
- Categories can have parent-child relationships to form a hierarchy.
-
User Accounts (
users
table)- Supports both regular users and admins.
- Handles user authentication and authorization, with roles and status management.
-
Shopping and Transactions (
carts
,orders
, andwishlists
tables)- Cart: Users can add items to their cart for purchasing, manage quantities, and view the total amount.
- Orders: Captures user orders with payment status and delivery details.
- Wishlist: Allows users to save products for future reference.
-
Content and Notifications (
posts
,post_categories
,post_comments
, andnotifications
tables)- Blog posts with categories and tags for user engagement.
- Users can comment on posts, reply to others, and receive notifications about updates.
git clone https://github.com/irawidyasrirezeki/pku-shop.git
composer install
Database Name
php artisan serve
php artisan storage:link