https://github.com/mmggyy66/vets_clinic
Vet Clinic is a project to create data structure for a vet clinic using a relational database. It implements PostgreSQL and contains all the data about animals. The complete database contains tables with data about: [] animals [] animals' owners [] clinic employees [] visits
https://github.com/mmggyy66/vets_clinic
pgadmin4 postgresql sql
Last synced: over 1 year ago
JSON representation
Vet Clinic is a project to create data structure for a vet clinic using a relational database. It implements PostgreSQL and contains all the data about animals. The complete database contains tables with data about: [] animals [] animals' owners [] clinic employees [] visits
- Host: GitHub
- URL: https://github.com/mmggyy66/vets_clinic
- Owner: MMGGYY66
- Created: 2023-07-10T16:11:18.000Z (about 3 years ago)
- Default Branch: dev
- Last Pushed: 2023-07-14T02:35:35.000Z (about 3 years ago)
- Last Synced: 2025-02-05T13:14:30.391Z (over 1 year ago)
- Topics: pgadmin4, postgresql, sql
- Homepage:
- Size: 25.2 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# vet-clinic-db project project (Module 4)
vet-clinic-db project
# 📗 Table of Contents
- [📖 About the Project](#about-project)
- [🛠 Built With](#built-with)
- [Tech Stack](#tech-stack)
- [Key Features](#key-features)
- [💻 Getting Started](#getting-started)
- [Prerequisites](#prerequisites)
- [Setup](#setup)
- [Create database](#create-database)
- [👥 Author](#author)
- [🔭 Future Features](#future-features)
- [🤝 Contributing](#contributing)
- [⭐️ Show your support](#support)
- [🙏 Acknowledgements](#acknowledgements)
- [❓ FAQ](#faq)
- [📝 License](#license)
**Vet Clinic** is a project to create data structure for a vet clinic using a relational database. It implements PostgreSQL and contains all the data about animals. The complete database contains tables with data about:
[] animals
[] animals' owners
[] clinic employees
[] visits
Client
- Create a database to store animals' information
- Insert some data into table, and query it
### Prerequisites
In order to run this project you need:
- [PostgreSQL server](https://www.postgresql.org/download/) installed and running
- [psql](https://www.postgresql.org/docs/current/app-psql.html) installed
### Setup
Clone this repository to your desired folder:
```
git clone https://github.com/MMGGYY66/vets_clinic.git
cd vet-clinic
```
### Create database
1. Connect to your PostgreSQL server with `psql`
```
> psql
postgres=#
```
2. Create the database `vet_clinic`
```
postgres=# CREATE DATABASE vet_clinic;
CREATE DATABASE
```
3. Connect to your database vet_clinic. Inside your current session do:
```
postgres=# \c vet_clinic
You are now connected to database "vet_clinic" as user "postgres".
vet_clinic=#
```
That's it! Congratulations, you have created your database and connected to it. Next, we will add a table.
- 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.
👤 **Mohamed Gamil Eldimardash**
- GitHub: [@github](https://github.com/MMGGYY66)
- LinkedIn: [LinkedIn](https://www.linkedin.com/in/mohamed-eldimardash-0023a3b5/)
- Twitter: [twitter](https://twitter.com/MOHAMEDELDIMARd)
- Facebook: [facebook](https://www.facebook.com/MOHAMED.ELDIMARDASH/)
- StackOverflow: [stackoverflow](https://stackoverflow.com/users/13605630/mohamed-gamil-eldimardash)
- Insert new data
- Update existence data
- Delete existence data
Contributions, issues, and feature requests are welcome!
Feel free to check the [issues page](../../issues/).
Give a start if you like this project!
- I would like to thank the Microverse Team!
- I would like to thank All my partners!
This project is [MIT](https://github.com/MMGGYY66/vets_clinic/blob/animals/MIT.md).
[MIT license](./MIT.md)