This challenge will help you master the art of database designπ§ πΎ Your group will design an Entity-Relationship Diagram (ERD) and collaboratively build an e-commerce database from scratch.
π οΈ Instructions
Clearly define all entities (tables) and their attributes. Understand and document the relationships between tables. Identify primary keys, foreign keys, and other constraints. Use tools like Lucidchart, draw.io, dbdiagram.io, or MySQL Workbench π οΈ
Map out how data flows between entities. As a team, discuss how the database will be structured and implemented. Think like architects! ποΈ
Work together on analysis, design, and implementation. Everyone should understand every part of the project. Share ideas, ask questions, and keep the teamwork strong! π¬
Create a public GitHub repository π Upload your final ERD and ecommerce.sql file. Ensure everything is accessible to the reviewer π
Stay connected and meet regularly π₯ Use GitHub for version control, documentation, and teamwork π Track your progress, share updates, and troubleshoot together π§ Make sure everyone is in the loop π§
Youβll be building the following tables for your e-commerce platform ποΈ:
πΌοΈ product_image β Stores product image URLs or file references π¨ color β Manages available color options ποΈ product_category β Classifies products into categories (e.g., clothing, electronics) π¦ product β Stores general product details (name, brand, base price) π§Ύ product_item β Represents purchasable items with specific variations π·οΈ brand β Stores brand-related data π product_variation β Links a product to its variations (e.g., size, color) π size_category β Groups sizes into categories (e.g., clothing sizes, shoe sizes) π size_option β Lists specific sizes (e.g., S, M, L, 42) π§΅ product_attribute β Stores custom attributes (e.g., material, weight) π attribute_category β Groups attributes into categories (e.g., physical, technical) π§ͺ attribute_type β Defines types of attributes (e.g., text, number, boolean) .