Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sahar-abdelsamad/vet-clinic
This is a data structure for a vet clinic, created using a relational database. It is a complete database with data about: animals, animals' owners, clinic employees, and visits.
https://github.com/sahar-abdelsamad/vet-clinic
database postgresql psql
Last synced: 28 days ago
JSON representation
This is a data structure for a vet clinic, created using a relational database. It is a complete database with data about: animals, animals' owners, clinic employees, and visits.
- Host: GitHub
- URL: https://github.com/sahar-abdelsamad/vet-clinic
- Owner: Sahar-AbdelSamad
- Created: 2022-03-21T20:42:10.000Z (over 2 years ago)
- Default Branch: dev
- Last Pushed: 2022-03-25T11:14:56.000Z (over 2 years ago)
- Last Synced: 2024-10-11T09:40:14.812Z (28 days ago)
- Topics: database, postgresql, psql
- Language: PLpgSQL
- Homepage:
- Size: 13.7 KB
- Stars: 11
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Vet Clinic
> This is a data structure for a vet clinic, created using a relational database. It is a complete database with data about: animals, animals' owners, clinic employees, and visits.
## Getting Started
### Requirements
- PostgreSQL server installed and running
- psql installed### Clone this repository
```bash
$ git clone [email protected]:Sahar-AbdelSamad/vet-clinic.git
$ cd vet-clinic
```
1. Connect to your PostgreSQL server with `psql`
```bash
psql
```
2. Create the database `vet_clinic`
```bash
CREATE DATABASE vet_clinic;
```
3. Connect to your database `vet_clinic`
```bash
\c vet_clinic
```
4. Use [schema.sql](./schema.sql) to create all tables
5. Use [data.sql](./data.sql) to populate tables with sample data
6. 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!**## Authors
👤 **Sahar Abdel Samad**
- GitHub: [@sahar-abdelsamad](https://github.com/Sahar-AbdelSamad)
- Twitter: [@abdelsamadsahar](https://twitter.com/AbdelSamadSahar)
- LinkedIn: [abdel-samad-sahar](https://www.linkedin.com/in/sahar-abdel-samad/)## 🤝 Contributing
Contributions, issues, and feature requests are welcome!
Feel free to check the [issues page](../../issues/).
## Show your support
Give a ⭐️ if you like this project!