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

https://github.com/ouail-01/vet-clinic_database

Relational database project for a vet clinic.
https://github.com/ouail-01/vet-clinic_database

postgresql sql

Last synced: 5 months ago
JSON representation

Relational database project for a vet clinic.

Awesome Lists containing this project

README

          

# Vet-clinic_database

> This repository contains a relational database project for a vet clinic. The project is part of the curriculum at Microverse. The repository includes plain SQL files that can be used to recreate the database.

## 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!

- Take a look at the following database diagram for the vet-clinic:
- Vet-clinic diagram

# ๐Ÿ“— Table of Contents

- [๐Ÿ“– About the Project](#about-project)
- [๐Ÿ›  Built With](#built-with)
- [๐Ÿ’ป Getting Started](#getting-started)
- [Setup](#setup)
- [Prerequisites](#prerequisites)
- [Run tests](#run-tests)
- [๐Ÿ‘ฅ Authors](#authors)
- [๐Ÿ”ญ Future Features](#future-features)
- [๐Ÿค Contributing](#contributing)
- [โญ๏ธ Show your support](#support)
- [๐Ÿ™ Acknowledgements](#acknowledgements)
- [๐Ÿ“ License](#license)

# ๐Ÿ“– Create the database clinic based on diagram

- This project about converting the schema diagram into the sql commands using the postgresql, contains table for the patients and treatments etc....

## ๐Ÿ›  Built With

- Sql commands
- Postgresql
- schema diagram

(back to top)



## Key Features

- Schema based on diagram๐Ÿ˜Š๐Ÿ‘Œ
- OPtimization the foreign key with indexing๐Ÿ’ฏ
- Use the many to many relationship๐Ÿš€


## ๐Ÿ’ป Getting Started

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

### Prerequisites

In order to run this project you need:

Example command:

```sh
1.use a browser
2.use cable internet
```

### Setup

Clone this repository to your desired folder:

Example commands:

```sh

git clone git@github.com:Ouail-01/Vet-clinic_database.git
cd Vet-clinic_database

```

### Install

Install this project with:

Example command:

```sh
bundle install
```

### Usage

To run the project, execute the following command:

Example command:

```sh
- Open the terminal to play with the commands.
```

### Run tests

To run tests for the linter, run the following command:

Example command:

```sh
rubocop -A
```

(back to top)



## ๐Ÿ‘ฅ Authors

๐Ÿ‘ค **Ouail Laarabi**

- GitHub: [Click here](https://github.com/Ouail-01?tab=overview&from=2023-01-01&to=2023-01-02)
- Twitter: [Click here](https://twitter.com/Ouail_Laarabi)
- LinkedIn: [Click here](https://www.linkedin.com/in/ouail-laarabi-53203b250/)

๐Ÿ‘ค **Prince**

- GitHub: [@prius2055](https://github.com/prius2055)
- Twitter: [@prius2055](https://www.twitter.com/prius2055)
- LinkedIn: [@prius2055](https://www.linkedin.com/prius2055)

๐Ÿ‘ค **Damilare**

- GitHub: [@githubhandle](https://github.com/bestbynature)
- Twitter: [@twitterhandle](https://twitter.com/Dammybest)
- LinkedIn: [LinkedIn](https://linkedin.com/in/damilareismailabestbynature/)

(back to top)





## ๐Ÿ”ญ Future Features

- [ ] Enhance the sql commands using query plan.
- [ ] Add more tables๐Ÿ’ฏ.
- [ ] Add other relationships to the tables..

(back to top)





## ๐Ÿค Contributing

Contributions, issues, and feature requests are welcome!

Feel free to check the [Isuues Pages](https://github.com/Ouail-01/Vet-clinic_database/issues)


(back to top)





## โญ๏ธ Show your support


If you like this project kindly give it a starโญ๏ธ.

(back to top)





## ๐Ÿ™ Acknowledgments


I would like to thank Ekpenisi E Raphael for the immense support.

(back to top)






## ๐Ÿ“ License

This project is [MIT](https://github.com/Ouail-01/Vet-clinic_database/blob/dev/LICENSE) licensed.

(back to top)