Skip to content

Latest commit

Β 

History

History
169 lines (144 loc) Β· 5.97 KB

File metadata and controls

169 lines (144 loc) Β· 5.97 KB

Website - Learning Web Technology

A collection of projects built while learning full-stack web development with Python, FastAPI, and modern frontend technologies.


Tech Stack

Frontend

HTML5 CSS3 JavaScript

Backend

Python FastAPI

Database

PostgreSQL SQLite

Tools & Libraries

Git GitHub VS Code Node.js Axios


Repository Structure

website/
β”‚
β”œβ”€β”€ backend/                        # FastAPI practice server
β”‚   β”œβ”€β”€ igris.py
β”‚   β”œβ”€β”€ main.py
β”‚   β”œβ”€β”€ server01.py
β”‚   └── sockets.py
β”‚
β”œβ”€β”€ crimson/                        # Hospital Management System
β”‚   β”œβ”€β”€ backend/
β”‚   β”‚   β”œβ”€β”€ algorithms/             # Core scheduling algorithms
β”‚   β”‚   β”‚   β”œβ”€β”€ bipartite_matching.py
β”‚   β”‚   β”‚   β”œβ”€β”€ interval_tree.py
β”‚   β”‚   β”‚   β”œβ”€β”€ kdtree.py
β”‚   β”‚   β”‚   β”œβ”€β”€ load_balancer.py
β”‚   β”‚   β”‚   β”œβ”€β”€ peak_prediction.py
β”‚   β”‚   β”‚   β”œβ”€β”€ priority_queue.py
β”‚   β”‚   β”‚   └── wait_time.py
β”‚   β”‚   β”œβ”€β”€ mediflow_db/            # Database layer
β”‚   β”‚   β”‚   β”œβ”€β”€ config.py
β”‚   β”‚   β”‚   β”œβ”€β”€ database.py
β”‚   β”‚   β”‚   β”œβ”€β”€ init_db.py
β”‚   β”‚   β”‚   β”œβ”€β”€ models.py
β”‚   β”‚   β”‚   └── schemas_pg.sql
β”‚   β”‚   β”œβ”€β”€ routers/                # API route handlers
β”‚   β”‚   β”‚   β”œβ”€β”€ analytics_router.py
β”‚   β”‚   β”‚   β”œβ”€β”€ appointment_router.py
β”‚   β”‚   β”‚   β”œβ”€β”€ auth_router.py
β”‚   β”‚   β”‚   β”œβ”€β”€ branch_router.py
β”‚   β”‚   β”‚   β”œβ”€β”€ doctor_router.py
β”‚   β”‚   β”‚   β”œβ”€β”€ patient_router.py
β”‚   β”‚   β”‚   β”œβ”€β”€ queue_router.py
β”‚   β”‚   β”‚   └── slot_router.py
β”‚   β”‚   β”œβ”€β”€ auth.py
β”‚   β”‚   β”œβ”€β”€ create_admin.py
β”‚   β”‚   └── main.py
β”‚   β”œβ”€β”€ frontend/
β”‚   β”‚   β”œβ”€β”€ css/
β”‚   β”‚   β”‚   └── styles.css
β”‚   β”‚   β”œβ”€β”€ js/
β”‚   β”‚   β”‚   β”œβ”€β”€ app.js
β”‚   β”‚   β”‚   └── pages.js
β”‚   β”‚   └── index.html
β”‚   └── models/
β”‚       β”œβ”€β”€ analytics.py
β”‚       β”œβ”€β”€ organization.py
β”‚       β”œβ”€β”€ queue.py
β”‚       β”œβ”€β”€ scheduling.py
β”‚       └── users.py
β”‚
β”œβ”€β”€ database/                       # Database utilities
β”‚   β”œβ”€β”€ data.py
β”‚   β”œβ”€β”€ database.py
β”‚   └── databasemodels.py
β”‚
β”œβ”€β”€ fastapi/                        # FastAPI learning notes & examples
β”‚   β”œβ”€β”€ learn/
β”‚   β”‚   β”œβ”€β”€ api_01.py
β”‚   β”‚   └── user_from.py
β”‚   β”œβ”€β”€ 01_ULTIMATE_FASTAPI_TUTORIAL.md
β”‚   β”œβ”€β”€ 02_ADVANCED_PRODUCTION_APP.py
β”‚   β”œβ”€β”€ 03_COMPREHENSIVE_TESTS.py
β”‚   β”œβ”€β”€ 04_DEPLOYMENT_GUIDE.md
β”‚   └── 05_ADVANCED_REFERENCE.md
β”‚
β”œβ”€β”€ frontend/                       # Frontend client
β”‚   β”œβ”€β”€ client.py
β”‚   └── index.html
β”‚
β”œβ”€β”€ portfolio/                      # Personal portfolio site
β”‚   β”œβ”€β”€ index.html
β”‚   β”œβ”€β”€ script.js
β”‚   β”œβ”€β”€ style.css
β”‚   └── profile.jpeg
β”‚
β”œβ”€β”€ storage-web/                    # File storage web app
β”‚   β”œβ”€β”€ backend/
β”‚   β”‚   β”œβ”€β”€ main.py
β”‚   β”‚   β”œβ”€β”€ schemas.py
β”‚   β”‚   └── uploads/
β”‚   β”‚       β”œβ”€β”€ documents/
β”‚   β”‚       └── images/
β”‚   β”œβ”€β”€ database/
β”‚   β”‚   β”œβ”€β”€ database.py
β”‚   β”‚   └── models.py
β”‚   β”œβ”€β”€ frontend/
β”‚   β”‚   └── app.py
β”‚   └── requirements.txt
β”‚
β”œβ”€β”€ functions.py
β”œβ”€β”€ index.html
β”œβ”€β”€ script.js
β”œβ”€β”€ style.css
β”œβ”€β”€ requirements.txt
└── README.md

Projects

Crimson - Hospital Management System β€” Full-stack app with patient management, doctor scheduling, queue management, and analytics powered by FastAPI and PostgreSQL.

Storage Web β€” File upload and storage web application with document and image management.

Portfolio β€” Personal portfolio website built with HTML, CSS, and JavaScript.

FastAPI Learning β€” Study notes, tutorials, and practice code for learning FastAPI.


Getting Started

Backend (Crimson)

cd crimson/backend
pip install -r requirements.txt
uvicorn main:app --reload

Storage Web

cd storage-web
pip install -r requirements.txt
uvicorn backend.main:app --reload

Frontend

Open index.html directly in your browser or serve on port 3000.


Author

Karthik β€” MKarthik730