{"id":23205766,"url":"https://github.com/pablobona/vet-clinic-db","last_synced_at":"2025-04-23T23:51:29.498Z","repository":{"id":187958211,"uuid":"677225989","full_name":"PabloBona/vet-clinic-db","owner":"PabloBona","description":"I will use a relational database to create the data structure for a vet clinic.","archived":false,"fork":false,"pushed_at":"2023-08-22T20:31:13.000Z","size":93,"stargazers_count":5,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"dev","last_synced_at":"2025-01-10T20:37:56.868Z","etag":null,"topics":["dabatase","postgres","queries","sql"],"latest_commit_sha":null,"homepage":"","language":"PLpgSQL","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/PabloBona.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":"2023-08-11T03:45:42.000Z","updated_at":"2023-09-27T17:31:54.000Z","dependencies_parsed_at":"2024-12-18T16:55:48.992Z","dependency_job_id":null,"html_url":"https://github.com/PabloBona/vet-clinic-db","commit_stats":null,"previous_names":["pablobona/vet-clinic-db"],"tags_count":0,"template":false,"template_full_name":"microverseinc/curriculum-template-databases","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PabloBona%2Fvet-clinic-db","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PabloBona%2Fvet-clinic-db/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PabloBona%2Fvet-clinic-db/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PabloBona%2Fvet-clinic-db/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PabloBona","download_url":"https://codeload.github.com/PabloBona/vet-clinic-db/tar.gz/refs/heads/dev","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250535091,"owners_count":21446506,"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","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":["dabatase","postgres","queries","sql"],"created_at":"2024-12-18T16:45:02.943Z","updated_at":"2025-04-23T23:51:29.478Z","avatar_url":"https://github.com/PabloBona.png","language":"PLpgSQL","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1\u003eVet Clinic Database Project\u003c/h1\u003e\nThis project involves creating a database for a vet clinic to manage animals' information. You'll be using SQL to create tables, insert data, and perform various queries. The goal is to create a well-structured database and gain experience in managing data within a relational database system.\n\n\n# 📗 Table of Contents\n\n- [📖 About the Project](#about-project)\n  - [🛠 Built With](#built-with)\n    - [Tech Stack](#tech-stack)\n    - [Key Features](#key-features)\n- [💻 Getting Started](#getting-started)\n  - [Setup](#setup)\n  - [Usage](#usage)\n- [👥 Authors](#authors)\n- [🔭 Future Features](#future-features)\n- [🤝 Contributing](#contributing)\n- [⭐️ Show your support](#support)\n- [❓ FAQ](#faq)\n- [📝 License](#license)\n\n\u003c!-- PROJECT DESCRIPTION --\u003e\n\n# 📖 [Vet Clinic Database Project] \u003ca name=\"about-project\"\u003e\u003c/a\u003e\n\nThis project involves creating a relational database for a vet clinic. The database will store information about animals, such as their names, birthdates, escape attempts, neutering status, weight, and species. You will be using SQL to define the structure of the database, insert sample data, and perform various queries to extract useful information.\n\n\n## 🛠 Built With \u003ca name=\"built-with\"\u003e\u003c/a\u003e\nThe project is built using SQL for database management.\n\n## 💻 Getting Started \u003ca name=\"getting-started\"\u003e\u003c/a\u003e\n\nThis repository includes files with plain SQL that can be used to recreate a database:\n\n- Use [schema.sql](./schema.sql) to create all tables.\n- Use [data.sql](./data.sql) to populate tables with sample data.\n- Check [queries.sql](./queries.sql) for examples of queries that can be run on a newly created database. **Important note: this file might include queries that make changes in the database (e.g., remove records). Use them responsibly!**\n\n\u003ca name=\"readme-top\"\u003e\u003c/a\u003e\nFollow these steps to understand and work on the project:\n\n\n### Tech Stack \u003ca name=\"tech-stack\"\u003e\u003c/a\u003e\n\nThe project is built using the following technologies:\n\n- **Server**: [Express.js](https://expressjs.com/) - A fast and minimalist web framework for Node.js.\n- **Database**: [PostgreSQL](https://www.postgresql.org/) - A powerful, open-source relational database system.\n\nFeel free to modify or expand the tech stack as needed for your project's requirements.\n\n\n### Key Features \u003ca name=\"key-features\"\u003e\u003c/a\u003e\n\n- **[SQL Database Management: Create, structure, and manage a relational database using SQL commands.]**\n- **[Data Manipulation: Insert, update, and delete data within the database using SQL statements.]**\n- **[Querying Data: Perform various types of SQL queries to extract meaningful information from the database.]**\n\n\u003cp align=\"right\"\u003e(\u003ca href=\"#readme-top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n\n\n\n### 🛠 Setup \u003ca name=\"setup\"\u003e\u003c/a\u003e\n\n1. Clone this repository to your local machine:\n\n```bash\ngit clone https://github.com/PabloBona/vet-clinic-db\n```\n\n2. Set up a PostgreSQL database named `vet_clinic`.\n\n### Database Structure\n\nThe `schema.sql` file includes SQL commands to create the `animals` table with the following columns:\n\n- `id`: A unique identifier for each animal.\n- `name`: The name of the animal.\n- `date_of_birth`: The birthdate of the animal.\n- `escape_attempts`: The number of escape attempts made by the animal.\n- `neutered`: A boolean indicating if the animal is neutered.\n- `weight_kg`: The weight of the animal in kilograms.\n- `species`: The species of the animal.\n\nYou can execute the `schema.sql` file to create the table structure by running:\n\n```bash\npsql -d vet_clinic -a -f schema.sql\n```\n\nMake sure you have PostgreSQL installed and configured on your machine before running the command.\n\nFeel free to modify the column descriptions and structure according to your project's needs.\n\nPlease note that the database schema and structure provided are based on your project's requirements and can be adjusted as necessary.\n\n## 🛠 Usage \u003ca name=\"usage\"\u003e\u003c/a\u003e\nThe data.sql file contains SQL commands to insert sample data into the animals table. You can use these commands to populate the table with information about different animals.\n\nThe queries.sql file contains SQL queries to answer various questions about the data stored in the animals table. These queries cover topics like filtering animals based on conditions, retrieving specific information, and calculating aggregate values.\n\nAfter running the queries, you can take screenshots of the results to showcase your work.\n\n\u003c!-- AUTHORS --\u003e\n\n## 👥 Authors \u003ca name=\"authors\"\u003e\u003c/a\u003e\n\n\n👤 **Pablo Bonasera**\n\n- GitHub: [@Pablobona](https://github.com/PabloBona)\n\n👤 **lRebornsl**\n\n- GitHub: [@lRebornsl](https://github.com/lRebornsl)\n- Twitter: [@RebornsDev](https://twitter.com/RebornsDev)\n- LinkedIn: [Anthony Vásquez](https://www.linkedin.com/in/avvm98/)\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\n- [ x ] **[User Authentication: Implement user authentication and authorization to allow different users to access and manage animal records with appropriate permissions.]**\n- [ x ] **[Appointment Scheduling: Create a feature that enables users to schedule appointments for animals, such as check-ups, vaccinations, and surgeries.]**\n\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\n\n \n\nIf you like this project or if it helped you, please give a ⭐️. I'd really appreciate it!\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\n \n\nI would like to thank Microverse and all my peers and colleagues at Microverse for giving me the opportunity to work on 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- **[How do I set up the PostgreSQL database for this project?]**\n\n  - Clone the repository to your local machine\n  - Create a new PostgreSQL database named \"vet_clinic\".\n  - Execute the SQL commands in the \"schema.sql\" file to create the necessary table structure.\n  - Populate the database with sample data by executing the SQL commands in the \"data.sql\" file.\n\n- **[How can I run the queries provided in the \"queries.sql\" file?]**\n\n  - To run the queries provided in the \"queries.sql\" file, you can use a PostgreSQL client or interface, such as psql command-line tool or a graphical tool like pgAdmin. Connect to your \"vet_clinic\" database and execute the queries in the file to retrieve the desired information from the database.\n\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](MIT.md) licensed.\n\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%2Fpablobona%2Fvet-clinic-db","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpablobona%2Fvet-clinic-db","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpablobona%2Fvet-clinic-db/lists"}