-
Install Node.js (if not already installed)
- Download from nodejs.org (v18 or higher)
- Verify installation:
node --version
-
Install Dependencies
cd frontend npm install -
Configure Backend URL
- Copy
.env.exampleto.env.local - Update
BACKEND_URLto match your backend service:
BACKEND_URL=http://localhost:8000 - Copy
-
Start Development Server
npm run dev
-
Open Browser
- Navigate to http://localhost:3000
Choose one of two methods:
Method A: Upload File
- Click the upload area
- Select a
.txtfile containing your transcript - Preview appears automatically
Method B: Paste Text
- Click in the text area labeled "Paste Transcript"
- Paste your transcript content (Ctrl+V / Cmd+V)
- Click the "Process Transcript" button
- Wait for processing to complete (spinner will appear)
Navigate through the tabs to view different outputs:
Report Tab
- Structured Markdown analysis
- Formatted with headings, lists, and sections
JSON Output Tab
- Full JSON response
- Copy to clipboard with one click
- Download as JSON file
Steps Tab
- Accordion view of process steps
- Click to expand/collapse individual steps
- Use "Expand All" or "Collapse All" buttons
BPMN Viewer Tab
- Visual process diagram
- Use zoom controls to adjust view
- Pan and explore the diagram
Example transcript and response are included in the /examples folder:
example-transcript.txt- Sample bank account opening conversationexample-response.json- Expected backend response format
Problem: "Cannot connect to backend"
- Solution: Verify backend is running and
BACKEND_URLis correct
Problem: "Port 3000 already in use"
- Solution: Use a different port:
PORT=3001 npm run dev
Problem: Upload not working
- Solution: Ensure file is
.txtformat
- Review README.md for detailed documentation
- Check TECHNICAL_DOCS.md for architecture details
- Configure production deployment when ready
Need Help? Check the full README or technical documentation for more details.