How ommagdum/academic-meeting-minutes works
1. Overall shape
- This repository is a three-part system: a React/Vite frontend, a Spring Boot backend, and a Python/Flask AI service.
- The backend is the central orchestrator: it owns authentication, meeting workflow, persistence, notifications, search, and it calls the AI service for transcription/extraction.
2. Frontend boundary
- The frontend is a single-page application built with React 18, TypeScript, and Vite.
- It is organized by feature area rather than by technical layer: pages, reusable components, domain-specific components for meetings/tasks, and a small service layer for API calls.
- State and session handling are split across AuthContext, ThemeContext, custom hooks, and a set of service wrappers (authService, meetingService, searchService, taskService, userService).
3. Frontend data flow
- User-facing flows start in pages like login/auth, dashboard, create meeting, meeting detail, search, series management, and task management.
- These pages call the backend via REST; some screens also consume real-time updates for processing progress.
- The multi-step meeting form and meeting detail views are the main UI surfaces for the AI-assisted workflow.
4. Backend core responsibility
- The backend is a Spring Boot 3.5 application in Java 21 and is the system’s domain engine.
- Controllers are split by business area: auth, meetings, meeting series, agendas, action items, search, profiles, dashboard, and meeting join flows.
- Services contain the business logic and orchestration; repositories handle persistence; DTOs define API contracts; entities map to relational data models.
5. Persistence boundary
- The backend uses a dual-database design.
- PostgreSQL holds the transactional core: users, meetings, meeting series, attendees, agenda items, action items, tokens, and related state.
- MongoDB stores large document-oriented payloads such as transcripts, AI extractions, and generated documents.
- There is also a database trigger SQL file for search-vector support, which indicates search optimization is partly pushed into the database layer.
6. AI processing subsystem
- The ai-service is a Flask/Python 3.12 service dedicated to audio ingestion and NLP processing.
- It is split into smaller services for upload handling, transcription, extraction, and fallback behavior.
- The AI service integrates with external AI providers: Whisper for speech-to-text and Mistral for structured extraction/summarization.
- If the LLM path fails, a fallback rules-based extraction path is available, which makes the processing pipeline more resilient.
7. Meeting processing flow
- The likely end-to-end flow is: the frontend uploads meeting audio and metadata to the backend, the backend forwards the file/processing request to the AI service, and the AI service returns transcript and extracted meeting data.
- The backend then persists structured entities in PostgreSQL and document payloads in MongoDB.
- Processing status is surfaced back to the frontend, and the UI is designed to show progress while the transcription/extraction pipeline runs.
8. Real-time and asynchronous behavior
- The backend contains WebSocket configuration and websocket message DTOs, so processing progress and status updates are pushed to clients rather than polled only.
- Async configuration and a dedicated processing service imply that long-running AI workflows run off the request thread.
- A reminder scheduler is also present, showing that the backend does background work beyond user-triggered requests.
9. Security and access control
- Security is layered around Spring Security, JWT filtering, OAuth2 login support, and custom user details handling.
- The backend has explicit access services and join/validation flows for meeting access, which suggests meetings can be invited, joined by token, or protected by role-based rules.
- Email verification, password reset, and token validation are part of the auth boundary.
10. Notifications and document generation
- The backend sends automated emails using Thymeleaf templates for verification, meeting invitations, reminders, task assignments, and completion notifications.
- It also generates meeting-related documents from templates, including the meeting minutes artifact stored as a generated document.
- This makes the backend the source of both persisted data and user-facing artifacts.
11. Search and analytics
- Search is a first-class subsystem in the backend, with a dedicated controller and service plus repository support for custom meeting queries.
- The architecture supports searching across historical meetings and transcripts, likely combining relational query data with document text/search vectors.
- Dashboard and analytics services aggregate meeting activity and task status for summary views in the frontend.
12. External and deployment boundaries
- The repo is containerized with Docker and Docker Compose, and each main service has its own Dockerfile.
- The frontend is also configured for standalone deployment, with Vercel config present.
- Operationally, the architecture depends on external AI APIs, mail delivery infrastructure, and the two databases; those are the main non-repo dependencies that shape runtime behavior.
Main entry points: MeetingController.java Controllers · MeetingService.java Meeting core · MeetingProcessingService.java Processing · MultiStepMeetingForm.tsx Meeting UI
Components 19
Frontend
React/Vite SPA for meeting workflows and user-facing screens
- App shell · Routing and top-level composition for the client app
frontend/src/App.tsx - Pages · Login, dashboard, meeting, series, search, and task screens
frontend/src/pages/Dashboard.tsx - Meeting UI · Multi-step meeting form, detail views, participants, transcript, and processing status
frontend/src/components/MultiStepMeetingForm.tsx - State & session · Auth, theme, and custom hooks that manage session and UI state
frontend/src/contexts/AuthContext.tsx - API services · Service wrappers for backend calls across auth, meetings, search, tasks, and users
frontend/src/services/api.ts
Backend
Spring Boot domain engine for auth, meetings, persistence, search, and notifications
- Backend app · Main server entrypoint and application bootstrap
backend/src/main/java/com/meetingminutes/backend/BackendApplication.java - Controllers · Auth, meeting, series, agenda, action item, search, profile, dashboard, and join endpoints
backend/src/main/java/com/meetingminutes/backend/controller/MeetingController.java - Security · JWT, OAuth2, Spring Security, user details, and access validation
backend/src/main/java/com/meetingminutes/backend/config/SecurityConfig.java - Meeting core · Meeting lifecycle, series, attendees, agenda items, action items, and access rules
backend/src/main/java/com/meetingminutes/backend/service/MeetingService.java - Processing · Long-running meeting processing, file upload, websocket publishing, and AI integration
backend/src/main/java/com/meetingminutes/backend/service/MeetingProcessingService.java - AI client · Backend bridge to transcription and extraction requests sent to the AI service
backend/src/main/java/com/meetingminutes/backend/service/AIServiceClient.java - Persistence · Relational entities/repositories plus Mongo document repositories for transcripts and AI payloads
backend/src/main/java/com/meetingminutes/backend/repository/MeetingRepository.java - Search & analytics · Search, custom meeting queries, dashboard aggregation, and search-vector support
backend/src/main/java/com/meetingminutes/backend/service/MeetingSearchService.java - Notifications · Email templates, reminders, and generated meeting documents
backend/src/main/java/com/meetingminutes/backend/service/EmailService.java - Realtime · WebSocket configuration and background scheduling for processing updates and reminders
backend/src/main/java/com/meetingminutes/backend/config/WebSocketConfig.java
AI Service
Flask/Python service for audio ingestion, transcription, and extraction
- Flask app · Entry point for AI processing API
ai-service/app.py - Upload flow · Audio upload and validation pipeline
ai-service/services/file_uplod_service.py - Transcription · Whisper-backed transcription stage
ai-service/services/transcription_service.py - Extraction · Mistral extraction and fallback rules-based summarization
ai-service/services/extraction_service.py
Connections 24
- App shell → Pages: routes to · App shell exposes the main screens
- App shell → Meeting UI: composes · Shared meeting flows are embedded in the app
- Pages → API services: calls · Pages fetch and mutate data through service wrappers
- Meeting UI → State & session: uses · Meeting flows consume auth/session and UI state
- Meeting UI → API services: submits · Meeting creation and detail actions call backend APIs
- State & session → API services: auth headers · Session-aware API calls depend on stored credentials
- API services → Controllers: REST · Client requests are served by backend controllers
- Backend app → Controllers: exposes · Application bootstraps HTTP endpoints
- Controllers → Security: guarded by · Controllers sit behind security and access validation
- Controllers → Meeting core: delegates · HTTP boundary forwards business operations to services
- Controllers → Search & analytics: delegates · Search and dashboard endpoints use query services
- Meeting core → Persistence: reads/writes · Meeting, series, attendee, agenda, and action item data persist here
- Meeting core → Notifications: triggers · Meeting events emit emails and generated artifacts
- Meeting core → Processing: starts · Uploads and meeting completion initiate async processing
- Processing → AI client: calls · Processing orchestration forwards audio and metadata to AI service
- Processing → Realtime: publishes · Status changes are pushed to clients over WebSockets
- Processing → Persistence: stores · Processing results land in PostgreSQL and MongoDB
- Search & analytics → Persistence: queries · Search and analytics combine relational and document data
- Realtime → Meeting UI: updates · Processing progress is surfaced in the meeting UI
- Notifications → Persistence: references · Emails and documents are driven by stored meeting data
- AI client → Flask app: HTTP · Backend integrates with the Python AI service
- Flask app → Upload flow: routes to · Incoming requests begin with file ingestion
- Upload flow → Transcription: passes to · Validated uploads move into speech-to-text
- Transcription → Extraction: passes to · Transcript output feeds extraction and fallback logic