{"id":26643741,"url":"https://github.com/andreuvv/sql_alchemy_instagram","last_synced_at":"2025-08-10T07:05:48.709Z","repository":{"id":102588662,"uuid":"236609939","full_name":"andreuvv/SQL_Alchemy_Instagram","owner":"andreuvv","description":null,"archived":false,"fork":false,"pushed_at":"2020-01-27T22:30:02.000Z","size":52,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-24T20:38:50.057Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/andreuvv.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-01-27T22:29:51.000Z","updated_at":"2020-01-27T22:30:05.000Z","dependencies_parsed_at":null,"dependency_job_id":"8cce0fa0-8e06-4f37-adf3-daf78ebe0fdd","html_url":"https://github.com/andreuvv/SQL_Alchemy_Instagram","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/andreuvv/SQL_Alchemy_Instagram","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreuvv%2FSQL_Alchemy_Instagram","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreuvv%2FSQL_Alchemy_Instagram/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreuvv%2FSQL_Alchemy_Instagram/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreuvv%2FSQL_Alchemy_Instagram/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/andreuvv","download_url":"https://codeload.github.com/andreuvv/SQL_Alchemy_Instagram/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreuvv%2FSQL_Alchemy_Instagram/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269688151,"owners_count":24459410,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-10T02:00:08.965Z","response_time":71,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-03-24T20:34:47.146Z","updated_at":"2025-08-10T07:05:48.682Z","avatar_url":"https://github.com/andreuvv.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Create the database model for Instagram\n\nInside he `src/models.py` file you will find have a couple of classes describing an example database.\n\nHere is a 4min video explaining what UML is: [https://www.youtube.com/watch?v=UI6lqHOVHic](https://www.youtube.com/watch?v=UI6lqHOVHic)\n\n## 📝Instructions\n\nYour Job is to update he `src/models.py` file with the code needed to replicate he instagram data model.\n\nThe project is using the SQLAlchemy Python library to generate the database.\n\n- What tables you think instagram my have on its database: E.g: Post, User, etc.?\n- What properties should go inside the user? or inside the Post table?\n- Please add at least 4 models with all of its properties.\n- Degenerate the diagram.png file at the end by running `$ python3 models.py` on the console.\n\n## ❔How to generate the UML diagram?\n\nRemember to install dependencies:\n`$ pipenv install`\n\nand run the environment:\n`$ pipenv shell`\n\nType `$ python3 src/models.py` on the console.\n\nOpen he file `diagram.png` to check out your URML diagram!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandreuvv%2Fsql_alchemy_instagram","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandreuvv%2Fsql_alchemy_instagram","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandreuvv%2Fsql_alchemy_instagram/lists"}