A relational database project that recreates the core database structure of Instagram using MySQL.
π Features
- π€ User accounts
- β€οΈ Likes system
- π¬ Comments
- π€ Follow & Unfollow relationships
- π·οΈ Hashtags
- π Saved posts
- ποΈ Well-structured relational schema
- π Primary Keys & Foreign Keys
- β‘ Optimized SQL queries
- Database: MySQL
- Language: SQL
- Tool: MySQL Workbench + CLI
The database includes tables such as:
- Users
- Posts
- Comments
- Likes
- Followers
- Unfollow data
- Hashtags
- Post_Hashtags
- Saved_Posts
Each table is connected using proper foreign key relationships to maintain data integrity.
By building this project, I practiced:
- Designing scalable relational databases
- Writing efficient SQL queries
- Managing relationships between multiple tables
- Enforcing data integrity with constraints
- Working with real-world database structures