PostgreSQL database modeling primary functionality of Instagram
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.
- In depth research and analysis of Instagram's business model and features.
- Creation of Users and User Stories to model primary features of Instagram.
- Conceptual Model
- Relational Model
- Analysis of Functional Dependencies
- Normalization of schema to Boyce-Codd Normal Form (BCNF).
- Physical Model in Vertabelo
- Population of data
- Develop Queries using Python and PostgreSQL to implement Instagram features (e.g posts,follows,likes,comments,etc).
- Begin psql session
- Run initialize.sql file with
psql -d postgres -U <user> -f initialize.sql
- Execute
python <query_name>.py