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
- Host: GitHub
- URL: https://github.com/mahabubx7/vet_clinic
- Owner: mahabubx7
- License: mit
- Created: 2023-06-05T11:44:50.000Z (over 2 years ago)
- Default Branch: dev
- Last Pushed: 2023-06-13T10:56:19.000Z (over 2 years ago)
- Last Synced: 2025-10-10T11:34:57.507Z (22 days ago)
- Topics: acid, postgres, postgresql, psql
- Language: PLpgSQL
- Homepage:
- Size: 58.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Vet Clinic - Database

# 📗 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]** is a psql (postgresql) based project for a vet clinic.
Database
- **[Pets neutered tracking]**
- **[Pets escape_attempts monitoring]**
- **[Species catalog]**
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.
👤 **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)
- [ ] **[Pets report card]**
- [ ] **[Appointment system]**
Contributions, issues, and feature requests are welcome!
Feel free to check the [issues page](../../issues/).
If you like this project please give it a star.
I would like to thank microverse.
- **[What is SQL?]**
- [Structured Query Language]
- **[Why PostgreSQL?]**
- [It one of best popular RDBMS & SQL database. Also it is open-source.]
This project is [MIT](./LICENSE) licensed.