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.
- Host: GitHub
- URL: https://github.com/ouail-01/vet-clinic_database
- Owner: Ouail-01
- License: other
- Created: 2023-06-05T13:55:51.000Z (almost 3 years ago)
- Default Branch: dev
- Last Pushed: 2023-06-13T20:30:00.000Z (almost 3 years ago)
- Last Synced: 2025-02-05T17:15:18.693Z (about 1 year ago)
- Topics: postgresql, sql
- Language: PLpgSQL
- Homepage:
- Size: 133 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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:
- 
# ๐ 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....
- Sql commands
- Postgresql
- schema diagram
## Key Features
- Schema based on diagram๐๐
- OPtimization the foreign key with indexing๐ฏ
- Use the many to many relationship๐
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
```
## ๐ฅ 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/)
## ๐ญ Future Features
- [ ] Enhance the sql commands using query plan.
- [ ] Add more tables๐ฏ.
- [ ] Add other relationships to the tables..
## ๐ค Contributing
Contributions, issues, and feature requests are welcome!
Feel free to check the [Isuues Pages](https://github.com/Ouail-01/Vet-clinic_database/issues)
## โญ๏ธ Show your support
If you like this project kindly give it a starโญ๏ธ.
## ๐ Acknowledgments
I would like to thank Ekpenisi E Raphael for the immense support.
## ๐ License
This project is [MIT](https://github.com/Ouail-01/Vet-clinic_database/blob/dev/LICENSE) licensed.