Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/carreraprogrammer/vet-clinic-db

This is a relational database to create the data structure for a vet clinic
https://github.com/carreraprogrammer/vet-clinic-db

psql

Last synced: 13 days ago
JSON representation

This is a relational database to create the data structure for a vet clinic

Awesome Lists containing this project

README

        

# 📗 Table of Contents

- [📗 Table of Contents](#-table-of-contents)
- [📖 Paws and Claws Clinic ](#-paws-and-claws-clinic-)
- [🛠 Built With ](#-built-with-)
- [Tech Stack ](#tech-stack-)
- [Key Features ](#key-features-)
- [💻 Getting Started ](#-getting-started-)
- [Prerequisites](#prerequisites)
- [Setup](#setup)
- [Install](#install)
- [Usage](#usage)
- [Run tests](#run-tests)
- [👥 Authors ](#-authors-)
- [🔭 Future Features ](#-future-features-)
- [🤝 Contributing ](#-contributing-)
- [⭐️ Show your support ](#️-show-your-support-)
- [🙏 Acknowledgments ](#-acknowledgments-)
- [❓ FAQ ](#-faq-)
- [📝 License ](#-license-)

# 📖 [Vet clinic database]

**[Vet clinic database]** is a project where I use a relational database to create the data structure for a vet clinic. This repository includes files with plain SQL that can be used to recreate a database:

- Use schema.sql to create all tables.
- Use data.sql to populate tables with sample data.
- Check 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!


logo


VET CLINIC DIAGRAM


## 🛠 Built With

### Tech Stack

Database

Query Language

### Key Features

- **Robust Data Management**: The database offers a systematic way to manage information about the clinic's animal patients, making data retrieval and tracking more efficient.
- **Comprehensive Querying Capabilities**: SQL is used to interact with the database, providing powerful querying options for extracting and manipulating data according to various needs.
- **Scalability**: PostgreSQL, as an open-source relational database, offers high scalability, making the database capable of handling an increasing amount of data as the clinic grows.
- **Data Integrity**: PostgreSQL provides strong data consistency and supports ACID (Atomicity, Consistency, Isolation, Durability) properties, ensuring the reliability and integrity of data.
- **Flexibility**: The database schema can be easily adjusted to accommodate changing requirements, demonstrating the system's adaptability.

(back to top)

## 💻 Getting Started

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

### Prerequisites

In order to run this project you need:

- PostgreSQL installed on your machine. You can download it from the [official website](https://www.postgresql.org/download/).

### Setup

Clone this repository to your desired folder:

```sh
cd your-folder
git clone https://github.comc/carreraprogrammer/vet-clinic.git
```

### Install

Navigate into your project directory and set up your database:

```sh
cd your-project
psql -U postgres -f schema.sql
```

### Usage

To interact with the database, open PostgreSQL and connect to the database:

Connect to database
```sh
psql -U postgres -d vet_clinic
```

### Run tests

To run tests, run the following command (functionality will be added in the future):

```sh
// command to run tests will be available in the future.
```

(back to top)

## 👥 Authors

👤 **Daniel Carrera**

- GitHub: [@carreraprogrammer](https://github.com/carreraprogrammer )
- Twitter: [@carreraprog](https://twitter.com/carreraprog)
- LinkedIn: [LinkedIn](https://www.linkedin.com/in/daniel-carrera-85a917244/)

(back to top)

## 🔭 Future Features

- [x] Project 1: create animals table.
- [x] Project 2: query and update animals table.
- [x] Project 3: query multiple tables.
- [x] Project 4: add "join table" for visits.
- [x] Project 5: database performance audit.
- [x] Exercise: add database schema diagram.

(back to top)

## 🤝 Contributing

Contributions, issues, and feature requests are welcome!

Feel free to check the [issues page](https://github.com/carreraprogrammer/vet-clinic-db/issues).

(back to top)

## ⭐️ Show your support

If you like this project please give a star.

(back to top)

## 🙏 Acknowledgments

(back to top)

## ❓ FAQ

(back to top)

## 📝 License

This project is [MIT](./LICENSE) licensed.

(back to top)