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.
- Host: GitHub
- URL: https://github.com/katarighe/clinic_database
- Owner: katarighe
- License: mit
- Created: 2023-09-26T08:24:38.000Z (over 2 years ago)
- Default Branch: development
- Last Pushed: 2023-09-28T08:29:51.000Z (over 2 years ago)
- Last Synced: 2025-06-06T07:03:11.062Z (about 1 year ago)
- Topics: database, database-schema, microverse-projects, postgresql, sql
- Homepage:
- Size: 146 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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)
The **Clinic Database** is a simple database that stores information about the animals in the vet.
Client
Server
Database
> 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.**
## π» 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**
π€ **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/)
> 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.
Contributions, issues, and feature requests are welcome!
Feel free to check the [issues page](../../issues/).
Give a starβοΈ or a thumbs up π if you like this project! You can visit my GitHub profile for more of my projects.
- Project supervised by [Microverse](https://www.microverse.org/)
- [Creative Commons 4.0 License](https://creativecommons.org/licenses/by-nc/4.0/)
This project is [MIT](./LICENSE) licensed.