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

https://github.com/mahabubx7/vet_clinic

PSQL - Postgres Database (RDBMS/DBMS) Trainning
https://github.com/mahabubx7/vet_clinic

acid postgres postgresql psql

Last synced: 22 days ago
JSON representation

PSQL - Postgres Database (RDBMS/DBMS) Trainning

Awesome Lists containing this project

README

          

# Vet Clinic - Database


![drawSQL-vet-clinic-export-2023-06-13](https://github.com/mahabubx7/vet_clinic/assets/122348996/182d07fd-df08-43c0-aedd-6d89e29ffd27)

# 📗 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)
- [❓ FAQ](#faq)
- [📝 License](#license)

# 📖 [Vet Clinic]

**[Vet Clinic]** is a psql (postgresql) based project for a vet clinic.

## 🛠 Built With

### Tech Stack

Database

### Key Features

- **[Pets neutered tracking]**
- **[Pets escape_attempts monitoring]**
- **[Species catalog]**

(back to top)

## 💻 Getting Started .

This repository includes files with plain SQL that can be used to recreate a database:

- Use [schema.sql](./schema.sql) to create all tables.
- Use [data.sql](./data.sql) to populate tables with sample data.
- 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!**

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

### Prerequisites

In order to run this project you need:

`psql` should be available

```sh
psql --version
```

### Setup

Clone this repository to your desired folder:

```sh
git clone git@github.com:mahabubx7/vet_clinic.git
```

-

### Install

Install this project with:

```sh
cd vet_clinic
createdb vet_clinic;
psql -U -d vet_clinic
```

Now, copy `schema.sql` queries into the psql & execute to install schemas.
Later, copy `data.sql` queries into the psql to insert data.

### Usage

To run the project, execute the following command:

```sh
psql -U -d vet_clinic
```

### Run tests

Right now, it is not available for this project. Though you can query to get required values as testing.

## 👥 Authors

👤 **Mahabub Alam**

- GitHub: [@mahabubx7](https://github.com/mahabubx7)
- Twitter: [@mahabub\_\_7](https://twitter.com/mahabub__7)
- LinkedIn: [in/linkedIn](https://linkedin.com/in/mahabubx7)

👤 **Lawrence Amoafo**

- GitHub: [@Kwaku28](https://github.com/Kwaku28)
- Twitter: [@kwakuamoafo](https://twitter.com/kwakuamoafo)
- LinkedIn: [lawrenceamoafo](https://linkedin.com/in/lawrenceamoafo)

(back to top)

## 🔭 Future Features

- [ ] **[Pets report card]**
- [ ] **[Appointment system]**

(back to top)

## 🤝 Contributing

Contributions, issues, and feature requests are welcome!

Feel free to check the [issues page](../../issues/).

(back to top)

## ⭐️ Show your support

If you like this project please give it a star.

(back to top)

## 🙏 Acknowledgments

I would like to thank microverse.

(back to top)

## ❓ FAQ

- **[What is SQL?]**

- [Structured Query Language]

- **[Why PostgreSQL?]**

- [It one of best popular RDBMS & SQL database. Also it is open-source.]

(back to top)

## 📝 License

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

(back to top)