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

https://github.com/yusufyusie/database-diagram

I will get a database diagram, interpret it, and implement the SQL needed to build that database.
https://github.com/yusufyusie/database-diagram

database database-diagrams database-schema postgresql sql

Last synced: 2 months ago
JSON representation

I will get a database diagram, interpret it, and implement the SQL needed to build that database.

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)
- [Usage](#usage)
- [👥 Authors ](#-authors-)
- [🔭 Future Features ](#-future-features-)
- [🤝 Contributing ](#-contributing-)
- [⭐️ Show your support ](#️-show-your-support-)
- [🙏 Acknowledgments ](#-acknowledgments-)
- [❓ FAQ ](#-faq-)
- [📝 License ](#-license-)

# 📖 [Vet Clinic Database]

Clinic Database is a relational database to get a database diagram, interpret it, and implement the SQL needed to build that database

## 🛠 Built With

### Tech Stack

Database

### Key Features
- **Database named vet-clinic**
- **Table named animal**
- **Run relevant queries to fetch data from the database**

(back to top)

## 💻 Getting Started

This repository includes file with plain SQL that can be used to recreate a database:

- Use [schema.sql](./schema.sql) to create all tables.

**Important note: this file might include queries that make changes in the database (e.g., remove records). Use them responsibly!**

### Prerequisites

- Postgresql@16:

To install run:

On Linux:

```sh
sudo apt-get install postgresql postgresql-contrib libpq-dev
```

On Windows

Go to [postgres website](https://www.postgresql.org/) and download the installer and follow the installation process

### Setup

Clone this repository to your desired folder:

```sh
git clone git@github.com/yusufyusie/vdatabase-diagram
cd database-diagram
```
### Usage

To run the project, start the Postgresql server first, connect with vet_clininc database and execute the following commands on terminal:

```sh
$ brew services restart postgresql@14
$ psql postgres

postgres=# CREATE DATABASE clinic;
CREATE DATABASE

postgres=# \c clinic;
CREATE DATABASE

```

Exit sql by running

```sh

postgres=# \q

```
Reconnect with database by

```sh

$ psql clinic

=======

postgres=# \q

```
Reconnect with database by

```sh

$ psql clinic
```

(back to top)

## 👥 Authors

👤 **Yesuf Fenta**

- GitHub: [@yusufyusie](https://github.com/yusufyusie)
- Twitter: [@yusufyusiee](https://twitter.com/yusufyusiee)
- LinkedIn: [yusufyusie](https://linkedin.com/in/yusufyusie)

(back to top)

## 🔭 Future Features

- [ ] **Add Column To Table**
- [ ] **Create Bridge Table**
- [ ] **Add Join queries**
- [ ] **Add multiple tables**

(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
If you like this project please don't forget to give me a star

(back to top)

## 🙏 Acknowledgments

I would like to thank microverse for providing me with the template for this project

(back to top)

## ❓ FAQ

- **[Why I use this repository app?]**

- [To create the database for vet_clinic]

(back to top)

## 📝 License

This project is [MIT](./LICENSE) licensed.

(back to top)


(back to top)