Respiratory Acoustic Intelligence
An open research prototype for respiratory sound classification.
SHWASA is a Next.js-based web application serving as a live research prototype for evaluating and visualizing respiratory acoustic models.
- Framework: Next.js 16
- UI & Styling: Tailwind CSS & shadcn/ui
- Data Visualization: Recharts
- Language: TypeScript
First, install the dependencies using pnpm:
pnpm installThen, run the development server:
pnpm devTo connect the playground and dashboard to the COPD-EFF Express service, set the server-only API origin before starting Next.js:
COPD_EFF_API_URL=http://localhost:3001 pnpm devNext.js keeps browser requests same-origin at /api/* and rewrites them to the configured COPD-EFF service. Without this variable, the app remains in its local demonstration mode.
Open http://localhost:3000 with your browser to see the application.
app/- Next.js App Router pages and layoutscomponents/- Reusable UI components and research visualizationslib/- Utility functionspublic/- Static assets