An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

          


# vet-clinic-db project project (Module 4)


logo


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

**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

## 🛠 Built With

### Tech Stack

Client

### Key Features

- Create a database to store animals' information
- Insert some data into table, and query it

(back to top)

## 💻 Getting Started

### 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.

(back to top)

## 👥 Author

👤 **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)

(back to top)

## 🔭 Future Features

- Insert new data
- Update existence data
- Delete existence data

(back to top)

## 🤝 Contributing

Contributions, issues, and feature requests are welcome!
Feel free to check the [issues page](../../issues/).

(back to top)

## ⭐️ Show your support

Give a start if you like this project!

(back to top)

## 🙏 Acknowledgments

- I would like to thank the Microverse Team!
- I would like to thank All my partners!

## 📝 License

This project is [MIT](https://github.com/MMGGYY66/vets_clinic/blob/animals/MIT.md).

[MIT license](./MIT.md)

(back to top)