This document provides the current setup and run instructions for the Pneumonia Severity Assessment project.
If data.zip is present, extract it into the project root so the resulting structure includes data/raw/....
- Create a Python virtual environment.
- Activate it.
- Install dependencies:
pip install -r requirements.txtThe frontend app lives in app/dashboard.
- Navigate to the frontend folder.
- Install dependencies:
cd app/dashboard
npm installRecent UI/interaction work uses:
- GSAP (
gsap) - Shadcn ecosystem (
shadcn,radix-ui,class-variance-authority,clsx,tailwind-merge,tw-animate-css) - 3D rendering/effects (
three,@react-three/fiber,@react-three/postprocessing,postprocessing) - charting (
recharts) - typography (
@fontsource-variable/geist)
No extra manual installs are required beyond npm install unless package.json is changed.
Run backend and frontend in separate terminals.
From project root:
uvicorn src.api.main:app --reloadBackend URL: http://127.0.0.1:8000
From app/dashboard:
npm run devFrontend URL: http://localhost:3000
Before merging or handing off, validate production build:
cd app/dashboard
npm run buildOnly needed if component source files were removed or intentionally refreshed.
cd app/dashboard
npx shadcn@latest add alert -y
npx shadcn@latest add @react-bits/BorderGlow-JS-TW -y
npx shadcn@latest add @react-bits/MagicBento-TS-TW -yAfter regeneration, run npm run build to verify compatibility.