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

https://github.com/katarighe/clinic_database

A sample SQL database file representing a clinic. This database is created based on a relationship diagram.
https://github.com/katarighe/clinic_database

database database-schema microverse-projects postgresql sql

Last synced: about 2 months ago
JSON representation

A sample SQL database file representing a clinic. This database is created based on a relationship diagram.

Awesome Lists containing this project

README

          

## Getting Started
This repository includes files with plain SQL that can be used to recreate a database:

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

# πŸ“— 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)
- [Install](#install)
- [Usage](#usage)
- [Run tests](#run-tests)
- [Deployment](#deployment)
- [πŸ‘₯ Authors](#authors)
- [πŸ”­ Future Features](#future-features)
- [🀝 Contributing](#contributing)
- [⭐️ Show your support](#support)
- [πŸ™ Acknowledgements](#acknowledgements)
- [πŸ“ License](#license)

# πŸ“– Clinic Database

The **Clinic Database** is a simple database that stores information about the animals in the vet.

## πŸ›  Built With

Client

Server

Database

### Key Features

> The three key features of this project include the following.

- **Query and update the paitents table.**
- **Record of all patients**
- **Query multiple tables.**
- **Add "join table" for vists.**

(back to top)

## πŸ’» Getting Started
Get ready to explore Clinic Database with these steps:

**Schema Diagram**

To get a local copy up and running, follow these steps.

### Prerequisites

In order to run this project you need: PostgreSQL

### Setup

Clone this repository to your desired folder:

```sh
cd my-folder
git clone git@github.com:katarighe/clinic_database.git
```

### Install

Install this project with: Install [PostgreSQL](https://www.postgresql.org/download/)

### Usage

To run the project, execute the following command:
- Start the PostgreSQL server
- Run psql
- Create the database with: `CREATE DATABASE clinic;`
- Connect to the database with: `\c clinic`
- Create the tables with the queries from [schema_based_on_diagram.sql](./schema_based_on_diagram.sql)

### Run tests

To run tests, run the following command: **Not available**

### Deployment

You can deploy this project using: **Not available**

(back to top)

## πŸ‘₯ Authors

πŸ‘€ **Mohamed Aden Ighe**

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

πŸ‘€ **Noel Nomgne Foka**

- GitHub: [@noelnomgne](https://github.com/noelfoka)
- Twitter: [@noelnomgne](https://twitter.com/noelnomgne)
- LinkedIn: [@noelnomgne](https://www.linkedin.com/in/noelfoka/)

(back to top)

## πŸ”­ Future Features

> Here are some future features that could be added to the Clinic Database in the future.

- **User authentication and authorization:** This would allow users to create accounts, sign in and out, and have their own personal items.

These are just a few ideas for future features that could be added to the Clinic Database. The specific features that are added will depend on the needs and wants of the users.

(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 star⭐️ or a thumbs up πŸ‘ if you like this project! You can visit my GitHub profile for more of my projects.

(back to top)

## πŸ™ Acknowledgments

- Project supervised by [Microverse](https://www.microverse.org/)
- [Creative Commons 4.0 License](https://creativecommons.org/licenses/by-nc/4.0/)

(back to top)

## πŸ“ License

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

(back to top)