Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/claudiarojassoto/db_vet_clinic

Dive into the World of Veterinary Care 🏥 : Embark on a journey to build a comprehensive veterinary clinic database. Craft intricate tables using SQL, input data with care, and unleash the power of queries. Our aim: a seamlessly organized relational database for streamlined data management.
https://github.com/claudiarojassoto/db_vet_clinic

database postgresql queries tables

Last synced: 20 days ago
JSON representation

Dive into the World of Veterinary Care 🏥 : Embark on a journey to build a comprehensive veterinary clinic database. Craft intricate tables using SQL, input data with care, and unleash the power of queries. Our aim: a seamlessly organized relational database for streamlined data management.

Awesome Lists containing this project

README

        

# 📗 Table of Contents

- [📗 Table of Contents](#-table-of-contents)
- [📖 DB\_Vet\_Clinic ](#-db_vet_clinic-)
- [🛠 Built With ](#-built-with-)
- [Tech Stack ](#tech-stack-)
- [Key Features ](#key-features-)
- [🚀 Live Demo ](#-live-demo-)
- [💻 Getting Started ](#-getting-started-)
- [Setup](#setup)
- [Database Structure](#database-structure)
- [🛠 Usage ](#-usage-)
- [👥 Authors ](#-authors-)
- [🔭 Future Features ](#-future-features-)
- [🤝 Contributing ](#-contributing-)
- [⭐️ Show your support ](#️-show-your-support-)
- [🙏 Acknowledgments ](#-acknowledgments-)
- [❓ FAQ ](#-faq-)
- [📝 License ](#-license-)

# 📖 DB_Vet_Clinic

In this project, the objective is to develop a comprehensive database for a veterinary clinic aimed at effectively managing crucial information about animals. The tasks encompass designing and implementing tables using SQL, seamlessly incorporating data entries, and executing diverse queries for information retrieval. The ultimate aim is to forge a meticulously organized database, thereby fostering practical proficiency in handling data within the framework of a relational database system.

![Diagram](img/vet_clinic.png)

## 🛠 Built With

The project is built using SQL for database management. Getting Started Follow these steps to understand and work on the project:

### Tech Stack

The project is built using the following technologies:

Server

Database

### Key Features

- **SQL Database Management**
- **Data Manipulation**
- **Querying Data**

(back to top)

## 🚀 Live Demo

Unfortunately, there is no live demo available for this project at the moment.

(back to top)

## 💻 Getting Started

## Setup

To get a local copy up and running, follow these steps.

1. Clone this repository to your local machine:

```
git clone https://github.com/ClaudiaRojasSoto/DB_Vet_Clinic.git

```

2. Set up a PostgreSQL database named vet_clinic.

## Database Structure
The `schema.sql` file includes SQL commands to create the animals table with the following columns:

- `id`: A unique identifier for each animal.
- `name`: The name of the animal.
- `date_of_birth`: The birthdate of the animal.
- `escape_attempts`: The number of escape attempts made by the animal.
- `neutered`: A boolean indicating if the animal is neutered.
- `weight_kg`: The weight of the animal in kilograms.
- `species`: The species of the animal.

You can execute the `schema.sql` file to create the table structure by running:

```
psql -d vet_clinic -a -f schema.sql
```

Make sure you have PostgreSQL installed and configured on your machine before running the command.

Feel free to modify the column descriptions and structure according to your project's needs.

Please note that the database schema and structure provided are based on your project's requirements and can be adjusted as necessary.

## 🛠 Usage

The `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.

The 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.

After running the queries, you can take screenshots of the results to showcase your work.

## 👥 Authors

👤 **Claudia Rojas**

- GitHub: [@githubhandle](https://github.com/ClaudiaRojasSoto)
- LinkedIn: [LinkedIn](https://www.linkedin.com/in/claudia-rojas-soto/)

(back to top)

## 🔭 Future Features

- [ ] **User Authentication**
- [ ] **Appointment Scheduling**
- [ ] **Medical Profile of the Pet**

(back to top)

## 🤝 Contributing

Contributions, issues, and feature requests are welcome!

Feel free to check the [issues page](https://github.com/ClaudiaRojasSoto/DB_Vet_Clinic/issues).

(back to top)

## ⭐️ Show your support

If you like this project or if it helped you, please give a ⭐️. I'd really appreciate it!

(back to top)

## 🙏 Acknowledgments

I would like to thank Microverse and all my peers and colleagues at Microverse for giving me the opportunity to work on this project.

(back to top)

## ❓ FAQ

**How do I set up the PostgreSQL database for this project?**

Clone the repository to your local machine
Create a new PostgreSQL database named "vet_clinic".
Execute the SQL commands in the "schema.sql" file to create the necessary table structure.
Populate the database with sample data by executing the SQL commands in the "data.sql" file.

**How can I run the queries provided in the "queries.sql" file?**

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.

(back to top)

## 📝 License

This project is [MIT](MIT.md).

(back to top)