TriageFlow is an agentic workflow system for patient triage and routing, built with Angular (frontend) and Python/FastAPI (backend) in an Nx monorepo.
Before you begin, ensure you have the following installed:
- Node.js (v18 or higher) - Download here
- Python (v3.9 or higher) - Download here
- uv (Python package manager) - Install here
- Google Gemini API Key - Get one here
-
Clone the repository
git clone <repository-url> cd triageflow
-
Install dependencies
# Install Node.js dependencies npm install # Install Python dependencies for the backend npx nx install backend
-
Create environment file
Create a
.envfile in the root directory and add your Gemini API key:# Create .env file touch .envAdd the following content to your
.envfile:GEMINI_API_KEY=your_gemini_api_key_here
Important: Replace
your_gemini_api_key_herewith your actual Google Gemini API key.
npx nx run-dev backendThis will start the backend server at http://localhost:8000
npx nx serve triageflowThis will start the frontend development server at http://localhost:4200