Skip to content

avi-codesmith/Instagram-DB-clone

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

8 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ“Έ Instagram Database Clone (MySQL)

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

πŸ› οΈ Tech Stack

  • Database: MySQL
  • Language: SQL
  • Tool: MySQL Workbench + CLI

πŸ“‚ Database Schema

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.


🎯 Learning Outcomes

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

About

A relational database project that recreates the core database structure of Instagram using MySQL.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors