Skip to content

MKarthik730/RandomForge

Repository files navigation

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

KarthikMKarthik730