{"id":20417971,"url":"https://github.com/yusufyusie/database-diagram","last_synced_at":"2026-04-26T20:31:20.850Z","repository":{"id":199933360,"uuid":"704048299","full_name":"yusufyusie/database-diagram","owner":"yusufyusie","description":"I will get a database diagram, interpret it, and implement the SQL needed to build that database.","archived":false,"fork":false,"pushed_at":"2023-10-12T16:25:20.000Z","size":114,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"dev","last_synced_at":"2025-06-07T13:05:37.280Z","etag":null,"topics":["database","database-diagrams","database-schema","postgresql","sql"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yusufyusie.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-10-12T12:36:20.000Z","updated_at":"2023-10-13T19:08:07.000Z","dependencies_parsed_at":null,"dependency_job_id":"fc49226d-1ff8-43c9-b36b-ad47e96d5749","html_url":"https://github.com/yusufyusie/database-diagram","commit_stats":null,"previous_names":["yusufyusie/database-diagram"],"tags_count":0,"template":false,"template_full_name":"microverseinc/curriculum-template-databases","purl":"pkg:github/yusufyusie/database-diagram","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yusufyusie%2Fdatabase-diagram","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yusufyusie%2Fdatabase-diagram/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yusufyusie%2Fdatabase-diagram/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yusufyusie%2Fdatabase-diagram/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yusufyusie","download_url":"https://codeload.github.com/yusufyusie/database-diagram/tar.gz/refs/heads/dev","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yusufyusie%2Fdatabase-diagram/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32312175,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-26T19:15:34.056Z","status":"ssl_error","status_checked_at":"2026-04-26T19:15:15.467Z","response_time":129,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["database","database-diagrams","database-schema","postgresql","sql"],"created_at":"2024-11-15T06:28:48.156Z","updated_at":"2026-04-26T20:31:20.826Z","avatar_url":"https://github.com/yusufyusie.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ca name=\"readme-top\"\u003e\u003c/a\u003e\n\n\u003c!-- TABLE OF CONTENTS --\u003e\n\n# 📗 Table of Contents\n\n- [📗 Table of Contents](#-table-of-contents)\n- [📖 \\[Vet Clinic Database\\] ](#-vet-clinic-database-)\n  - [🛠 Built With ](#-built-with-)\n    - [Tech Stack ](#tech-stack-)\n    - [Key Features ](#key-features-)\n  - [💻 Getting Started ](#-getting-started-)\n    - [Prerequisites](#prerequisites)\n    - [Setup](#setup)\n    - [Usage](#usage)\n  - [👥 Authors ](#-authors-)\n  - [🔭 Future Features ](#-future-features-)\n  - [🤝 Contributing ](#-contributing-)\n  - [⭐️ Show your support ](#️-show-your-support-)\n  - [🙏 Acknowledgments ](#-acknowledgments-)\n  - [❓ FAQ ](#-faq-)\n  - [📝 License ](#-license-)\n\n\u003c!-- PROJECT DESCRIPTION --\u003e\n\n# 📖 [Vet Clinic Database] \u003ca name=\"about-project\"\u003e\u003c/a\u003e\n\nClinic Database is a relational database to get a database diagram, interpret it, and implement the SQL needed to build that database\n\n## 🛠 Built With \u003ca name=\"built-with\"\u003e\u003c/a\u003e\n\n### Tech Stack \u003ca name=\"tech-stack\"\u003e\u003c/a\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003eDatabase\u003c/summary\u003e\n  \u003cul\u003e\n    \u003cli\u003e\u003ca href=\"https://www.postgresql.org/\"\u003ePostgreSQL\u003c/a\u003e\u003c/li\u003e\n  \u003c/ul\u003e\n\u003c/details\u003e\n\n\u003c!-- Features --\u003e\n### Key Features \u003ca name=\"key-features\"\u003e\u003c/a\u003e\n- **Database named vet-clinic**\n- **Table named animal**\n- **Run relevant queries to fetch data from the database**\n\n\u003cp align=\"right\"\u003e(\u003ca href=\"#readme-top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n\n\u003c!-- GETTING STARTED --\u003e\n\n## 💻 Getting Started \u003ca name=\"getting-started\"\u003e\u003c/a\u003e\n\nThis repository includes file with plain SQL that can be used to recreate a database:\n\n- Use [schema.sql](./schema.sql) to create all tables.\n\n **Important note: this file might include queries that make changes in the database (e.g., remove records). Use them responsibly!**\n\n### Prerequisites\n\n- Postgresql@16:\n\nTo install run:\n\n On Linux:\n \n```sh\n sudo apt-get install postgresql postgresql-contrib libpq-dev\n```\n\nOn Windows\n\nGo to [postgres website](https://www.postgresql.org/) and download the installer and follow the installation process\n\n### Setup\n\nClone this repository to your desired folder:\n\n```sh\n  git clone git@github.com/yusufyusie/vdatabase-diagram\n  cd database-diagram\n```\n### Usage\n\nTo run the project, start the Postgresql server first, connect with vet_clininc database and execute the following commands on terminal:\n\n```sh\n  $ brew services restart postgresql@14\n  $ psql postgres\n\n  postgres=# CREATE DATABASE clinic;\n  CREATE DATABASE\n\n  postgres=# \\c clinic;\n  CREATE DATABASE\n\n```\n\nExit sql by running \n\n```sh\n\n\npostgres=# \\q\n\n```\nReconnect with database by\n\n```sh\n\n$ psql clinic\n\n=======\n\npostgres=# \\q\n\n```\nReconnect with database by\n\n```sh\n\n$ psql clinic\n```\n\u003cp align=\"right\"\u003e(\u003ca href=\"#readme-top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n\n\u003c!-- AUTHORS --\u003e\n\n## 👥 Authors \u003ca name=\"authors\"\u003e\u003c/a\u003e\n\n👤 **Yesuf Fenta**\n\n- GitHub: [@yusufyusie](https://github.com/yusufyusie)\n- Twitter: [@yusufyusiee](https://twitter.com/yusufyusiee)\n- LinkedIn: [yusufyusie](https://linkedin.com/in/yusufyusie)\n\n\u003cp align=\"right\"\u003e(\u003ca href=\"#readme-top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n\n\u003c!-- FUTURE FEATURES --\u003e\n\n## 🔭 Future Features \u003ca name=\"future-features\"\u003e\u003c/a\u003e\n\n- [ ] **Add Column To Table**\n- [ ] **Create Bridge Table**\n- [ ] **Add Join queries**\n- [ ] **Add multiple tables**\n\u003cp align=\"right\"\u003e(\u003ca href=\"#readme-top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n\n\u003c!-- CONTRIBUTING --\u003e\n\n## 🤝 Contributing \u003ca name=\"contributing\"\u003e\u003c/a\u003e\n\nContributions, issues, and feature requests are welcome!\n\nFeel free to check the [issues page](../../issues/).\n\n\u003cp align=\"right\"\u003e(\u003ca href=\"#readme-top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n\n\u003c!-- SUPPORT --\u003e\n\n## ⭐️ Show your support \u003ca name=\"support\"\u003e\u003c/a\u003e\nIf you like this project please don't forget to give me a star\n\n\u003cp align=\"right\"\u003e(\u003ca href=\"#readme-top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n\n\u003c!-- ACKNOWLEDGEMENTS --\u003e\n\n## 🙏 Acknowledgments \u003ca name=\"acknowledgements\"\u003e\u003c/a\u003e\n\nI would like to thank microverse for providing me with the template for this project\n\n\u003cp align=\"right\"\u003e(\u003ca href=\"#readme-top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n\n\u003c!-- FAQ (optional) --\u003e\n\n## ❓ FAQ \u003ca name=\"faq\"\u003e\u003c/a\u003e\n\n\n- **[Why I use this repository app?]**\n\n  - [To create the database for vet_clinic]\n\n\u003cp align=\"right\"\u003e(\u003ca href=\"#readme-top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n\n\u003c!-- LICENSE --\u003e\n\n## 📝 License \u003ca name=\"license\"\u003e\u003c/a\u003e\n\nThis project is [MIT](./LICENSE) licensed.\n\u003cp align=\"right\"\u003e(\u003ca href=\"#readme-top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n\u003cp align=\"right\"\u003e(\u003ca href=\"#readme-top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyusufyusie%2Fdatabase-diagram","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyusufyusie%2Fdatabase-diagram","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyusufyusie%2Fdatabase-diagram/lists"}