https://github.com/normainobary2021/vet-clinic
https://github.com/normainobary2021/vet-clinic
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/normainobary2021/vet-clinic
- Owner: normainobary2021
- License: other
- Created: 2023-01-17T22:44:32.000Z (over 2 years ago)
- Default Branch: development
- Last Pushed: 2023-01-28T21:38:13.000Z (over 2 years ago)
- Last Synced: 2025-02-07T22:51:57.878Z (5 months ago)
- Language: PLpgSQL
- Size: 754 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# 📗 Table of Contents
- [📗 Table of Contents](#-table-of-contents)
- [📖 Vet Clinic Database ](#-vet-clinic-database-)
- [🛠 Built With ](#-built-with-)
- [Tech Stack ](#tech-stack-)
- [Key Features ](#key-features-)
- [💻 Getting Started ](#-getting-started-)
- [Prerequisites](#prerequisites)
- [Setup](#setup)
- [Connect to your PostgreSQL server with psql](#connect-to-your-postgresql-server-with-psql)
- [Create the database](#create-the-database)
- [Connect to the database](#connect-to-the-database)
- [📄 Schema ](#-schema-)
- [👥 Authors ](#-authors-)
- [🤝 Contributing ](#-contributing-)
- [⭐️ Show your support ](#️-show-your-support-)
- [🙏 Acknowledgments ](#-acknowledgments-)
- [📝 License ](#-license-)**Vet Clinic Database** is a Relational database to create the data structure for a vet clinic
Database
- **CREATE DATABASE**
- **INSERT ANIMALS**
- **QUERY ANIMALS**
- **ALTER TABLES**
- **TRANSACTIONS**
To get a local copy up and running, follow these steps.
### Prerequisites
In order to run this project you need:
- PostgreSQL server installed and running
- psql installed
### Setup
Clone this repository to your desired folder:
Example commands:
```
git clone https://github.com/normainobary2021/vet-clinic.git
cd vet-clinic
```
### Connect to your PostgreSQL server with psql
```
psql
```
### Create the database
```
CREATE DATABASE vet_clinic;
```
### Connect to the database
```
\c vet_clinic
```
- 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!**
👤 **Norman Ainobushoborozi**
- GitHub: [@normainobary2021](https://github.com/normainobary2021)
- Twitter: [@NormanAinobush2](https://twitter.com/NormanAinobush2)
- LinkedIn: [@norman-ainobushoborozi](https://www.linkedin.com/in/norman-ainobushoborozi/)
Contributions, issues, and feature requests are welcome!
Feel free to check the [issues page](../../issues/).
If you like this project, please give it a ⭐️!
- N/A
This project is [MIT](./LICENSE.md) licensed.
_NOTE: we recommend using the [MIT license](https://choosealicense.com/licenses/mit/) - you can set it up quickly by [using templates available on GitHub](https://docs.github.com/en/communities/setting-up-your-project-for-healthy-contributions/adding-a-license-to-a-repository). You can also use [any other license](https://choosealicense.com/licenses/) if you wish._