How atulgupta07/hiera_sync works
HieraSync is a college-operations platform for authenticated staff to manage tasks, events and institutional calendars, requests and approvals, notifications, reporting, and AI-assisted work. The frontend routes users through protected pages and feature APIs to a FastAPI backend; backend handlers use Firestore for application state. The README is merge-conflicted, so its product description and Firebase stack provide only partial evidence. Several backend feature modules are indexed but unsampled; their capabilities are represented, while uncertain runtime links are dashed or omitted.
Main entry points: router.py Route registry · App.tsx React application · client.ts API client · notifications.py Notification endpoints
Components 24
Web application
- React application
frontend/src/App.tsx - Sign-in state
frontend/src/contexts/AuthContext.tsx - API client
frontend/src/api/client.ts
Academic workflows
- Task workspace
frontend/src/components/tasks/HODDashboard.tsx - Calendar
frontend/src/pages/CalendarPage.tsx - Requests and approvals
frontend/src/pages/TaskRequests.tsx - Notifications
frontend/src/contexts/NotificationContext.tsx - AI assistant
frontend/src/components/Chatbot.tsx
Backend API
- Task endpoints
backend/app/api/v1/tasks.py - Event endpoints
backend/app/api/v1/events.py - Request endpoints
backend/app/api/v1/requests.py - Approval endpoints
backend/app/api/v1/approvals.py - Notification endpoints
backend/app/api/v1/notifications.py - AI endpoints
backend/app/api/v1/ai.py - Analytics and reports
backend/app/api/v1/analytics.py - Route registry
backend/app/api/router.py
Identity and data
- JWT and permissions
backend/app/auth/permissions.py - Domain models and schemas
backend/app/models/models.py - Firestore
backend/app/database/session.py - Runtime settings
backend/app/config/settings.py
AI and automation
- Institutional AI
backend/app/services/institutional_ai.py - Scheduled jobs
backend/app/scheduler/jobs.py - WhatsApp service
backend/app/services/whatsapp_service.py
Other components
- College staff
Connections 28
- College staff → React application: uses
- React application → Sign-in state: provides
frontend/src/App.tsx - React application → Task workspace: routes to
frontend/src/App.tsx - React application → Calendar: routes to
frontend/src/App.tsx - React application → Requests and approvals: routes to
frontend/src/App.tsx - React application → AI assistant: renders
frontend/src/App.tsx - Task workspace → API client: requests data
frontend/src/components/tasks/HODDashboard.tsx - Calendar → API client: requests data
frontend/src/pages/CalendarPage.tsx - AI assistant → API client: requests AI
frontend/src/components/Chatbot.tsx - Notifications → API client: requests updates
frontend/src/contexts/NotificationContext.tsx - Sign-in state → API client: authenticates through
frontend/src/contexts/AuthContext.tsx - API client → Route registry: calls over HTTP
- Route registry → Task endpoints: registers
backend/app/api/router.py - Route registry → Event endpoints: registers
backend/app/api/router.py - Route registry → Approval endpoints: registers
backend/app/api/router.py - Route registry → AI endpoints: registers
backend/app/api/router.py - Route registry → Notification endpoints: registers
backend/app/api/router.py - Route registry → Request endpoints: registers
backend/app/api/router.py - Task endpoints → Firestore: reads and writes
backend/app/api/v1/tasks.py - Notification endpoints → Firestore: reads and writes
backend/app/api/v1/notifications.py - Request endpoints → Notification endpoints: uses
backend/app/api/v1/requests.py - JWT and permissions → Firestore: loads users
backend/app/auth/permissions.py - JWT and permissions → Runtime settings: verifies tokens via
- AI endpoints → Institutional AI: delegates to
backend/app/api/v1/ai.py - Scheduled jobs → Notification endpoints: creates notifications
backend/app/scheduler/jobs.py - Scheduled jobs → WhatsApp service: sends reminders
backend/app/scheduler/jobs.py - Task endpoints → Domain models and schemas: uses domain types
backend/app/api/v1/tasks.py - Approval endpoints → Domain models and schemas: uses domain types
backend/app/api/v1/approvals.py