ReemMohamedAbdelfatah / CLINIC-DB

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

πŸ“— Table of Contents

πŸ“– Clinic Database

Clinic Database is a relational database, based on a diagram example, to create the data structure for a clinic. The database consist of data about

  • patients
  • treatments
  • medical_histories
  • invoices
  • invoice_items

πŸ›  Built With

Tech Stack

Client

Key Features

  • Use Diagram saved in assets folder to create all tables.
  • Join tables from many-to-many relationships.
  • add the FK indexes.

(back to top)

πŸ’» Getting Started

Prerequisites

In order to run this project you need:

Setup

Clone this repository to your desired folder:

  git clone git@github.com:ReemMohamedAbdelfatah/CLINIC-DB.git
  cd CLINIC-DB

Creating a database

  1. Connect to your PostgreSQL server with psql
> psql
postgres=#
  1. Create the database clinic_db
postgres=# CREATE DATABASE clinic_db;
CREATE DATABASE
  1. Connect to your database clinic_db. Inside your current session do
postgres=# \c clininc_db
You are now connected to database "clinic_db" as user "postgres".
clinic_db=#

That's it! Congratulations, you have created your database and connected to it. Next, we will add a table. Learn more at PostgreSQL: Create a database

alt Diagram

  • Use Diagram saved in assets folder to create all tables.
  • Join tables from many-to-many relationships.
  • add the FK indexes.

(back to top)

πŸ‘₯ Authors

πŸ‘€ ReemMohamed

πŸ‘€ Alexandar

(back to top)

πŸ”­ Future Features

  • Add more data to the tables
  • Perform multiple queries

(back to top)

🀝 Contributing

Contributions, issues, and feature requests are welcome!

Feel free to check the issues page.

(back to top)

⭐️ Show your support

If you like this project and want to support me make cooler projects Give this project a Star.

(back to top)

πŸ“ License

This project is MIT licensed.

(back to top)

About

License:MIT License