Skip to content

gabrielcordeiro2/Hospital-query-system

Repository files navigation

linkedin instagram

I made a Hospital query system, which manages general tasks that occur in daily work of a front desk attendant.

The idea:

I wanted to challenge myself to do a different type of portfolio project, as I learned about the Backend, I was curious about how the systems that served me on a day-to-day basis worked, and from that came the idea of making a hospital system.

Requirements to run:

(Optional) If you want to run this project using Docker, click here.

(Optional) If you want to run this project using Kubernetes, click here.

You will need to install all dependencies below to run:

for Python:

  1. Python 3.8.10+
  2. git clone https://github.com/gabrielcordeiro2/Hospital-query-system
  3. pip3 install -r requirements.txt

for Database:

  1. PostgreSQL
  2. postgres empty database called as postgres with port 5432
  3. .env file created in project, containing DATABASE_URI=postgresql://postgres:123@localhost:5432/postgres

How to use

  • You can found my documentation here.
  • Run src/api/app.py to start API Server.
  • All endpoint methods, except /login needs a JWT Token to use.
  • If you want to populate the database, run src/api/populate_db.py

Skills that i learned:

  • Database manage

    Using: PostgreSQL, SQLAlchemy (ORM), Database modeling (ER Diagram).

  • Backend development

    Using: Python, Flask, REST Apis, JWT Auth.

  • Devops

    Using: Docker, Kubernetes, Shell Script.

  • Rest API Documentation

    Using: Postman and ThunderClient.

ER Database diagram
space-1.jpg
I made this diagram using LucidApp.
Kubernetes cluster diagram
kubernetes-1.jpg
I made this diagram using LucidApp.