Skip to content

PostgreSQL database modeling primary functionality of Instagram

Notifications You must be signed in to change notification settings

cmay20/Instagram-Database-Model

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Instagram Database Model

PostgreSQL database modeling primary functionality of Instagram

Project Description

This project was completed for a CMU Database Design and Development term project.

To reach its final state, the project went through several phases adhering to the Database Development Lifecycle.

  1. In depth research and analysis of Instagram's business model and features.
  2. Creation of Users and User Stories to model primary features of Instagram.
  3. Conceptual Model
  4. Relational Model
  5. Analysis of Functional Dependencies
  6. Normalization of schema to Boyce-Codd Normal Form (BCNF).
  7. Physical Model in Vertabelo
  8. Population of data
  9. Develop Queries using Python and PostgreSQL to implement Instagram features (e.g posts,follows,likes,comments,etc).

To Run

  • Begin psql session
  • Run initialize.sql file with psql -d postgres -U <user> -f initialize.sql
  • Execute python <query_name>.py

About

PostgreSQL database modeling primary functionality of Instagram

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published