Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/iturres/vet-clinic-db-2

🐘PostgreSQL🐘 | database structure for a vet clinic.
https://github.com/iturres/vet-clinic-db-2

Last synced: 25 days ago
JSON representation

🐘PostgreSQL🐘 | database structure for a vet clinic.

Awesome Lists containing this project

README

        


vet clinic logo

Vet Clinic database 2


---

# πŸ“— Table of Contents

- [πŸ“– About the Project](#about-project)
- [πŸ›  Built With](#built-with)
- [Tech Stack](#tech-stack)
- [Key Features](#key-features)
- [πŸ’» Getting Started](#getting-started)
- [Setup](#setup)
- [Prerequisites](#prerequisites)
- [Install](#install)
- [Usage](#usage)
- [Run tests](#run-tests)
- [πŸ‘₯ Authors](#authors)
- [πŸ”­ Future Features](#future-features)
- [🀝 Contributing](#contributing)
- [⭐️ Show your support](#support)
- [πŸ™ Acknowledgements](#acknowledgements)
- [πŸ“ License](#license)

---

# πŸ“– Vet Clinic database 2

- This project is intended to get familiar with relational databases, SQL, PostgreSQL, psql, and pgAdmin.

### ERD:

![vet-clinic-erd](src/media/vet-clinic-2-erd.png)

---

#### Learning objectives

- Build a relational database based on a real-life example.

## πŸ›  Built With

### Tech Stack

---

### Key Features

:bulb: **Database Initialization**:

- Initialize the database to create a robust foundation.

:bulb: **`Animals` Table Setup**:

- Set up the `Animals` table to organize and store crucial data.

:bulb: **Data Population**:

- Populate the table with relevant information to fuel the db.

:bulb: **Complex Data Queries**:

- Execute advanced data queries to extract precise insights.

:bulb: **Data Modification with Transaction Control**:

- Implement transaction control for secure data updates, including rollback and commit operations.

:bulb: **Data Removal with Transaction Safeguards**:

- Apply transaction safeguards for confident data removal, with rollback and commit operations.

:bulb: **Data Updates with Savepoint Management**:

- Manage data updates efficiently using savepoints within the transactions.

:bulb: **Table Querying with Aggregate Results**:

- Retrieve aggregated responses from the table, providing meaningful insights.

(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:

### Setup

Clone this repository to your desired folder:

Example commands:

- With SSH:

```bash
cd my-folder
git clone [email protected]:ITurres/vet-clinic-db-2.git
```

- With HTTPS:

```bash
cd my-folder
git clone https://github.com/ITurres/vet-clinic-db-2.git
```

- With GitHub CLI:

```bash
cd my-folder
gh repo clone ITurres/vet-clinic-db-2
```

### Install

- N/A

### Usage

To run the project, execute the following command:

- N/A

### Run tests

- N/A

(back to top)

---

## πŸ‘₯ Authors

πŸ‘€ **Arthur Iturres**

- GitHub: [@ITurres](https://github.com/ITurres)
- LinkedIn: [Arthur Emanuel G. Iturres](https://www.linkedin.com/in/arturoemanuelguerraiturres/)
- Angellist / Wellfound: [Arturo (Arthur) Emanuel Guerra Iturres](https://wellfound.com/u/arturo-arthur-emanuel-guerra-iturres)
- Youtube: [Arturo Emanuel Guerra Iturres - Youtube Channel](https://www.youtube.com/channel/UC6GFUFHOtBS9mOuI8EJ6q4g)
- Portfolio: [Arthur Iturres - Portfolio](https://iturres.github.io/iturres-reactive-portfolio/)

(back to top)

---

## πŸ”­ Future Features

- [x] query and update animals table.
- [x] query multiple tables.
- [x] add "join table" for visits.
- [ ] database performance audit.
- [ ] 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/ITurres/vet-clinic-db-2/issues).

(back to top)

---

## ⭐️ Show your support

Give a ⭐ if you liked this project!

(back to top)

---

## πŸ™ Acknowledgments

I thank the Code Reviewers for their advice and time πŸ†

(back to top)

---

## πŸ“ License

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

(back to top)

---