Official Digital Public Infrastructure (DPI) & AI Governance Platform designed to unify academic credentialing, decentralized identity management (APAAR / ABC ID), institutional governance, and real-time stakeholder counseling. Featuring a high-performance React / TypeScript / Vite Single Page Application, an asynchronous FastAPI Python backend, and a federated 7-database SQLite architecture with W3C Verifiable Credential support.
EduIdentityAI is engineered with a modular, 6-layer distributed architecture designed for zero-trust institutional environments, air-gapped campuses, and high-scalability cloud deployments.
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β 1. FRONTEND CLIENT (SPA) β
β React 18 β’ TypeScript β’ Tailwind CSS β’ Vite Rollup Code Splitting β
β (Port 3000 / Vercel / Netlify / Docker Container) β
ββββββββββββββββββββββββββββββββββββββ¬βββββββββββββββββββββββββββββββββββββ
β HTTPS / REST / WebSockets
ββββββββββββββββββββββββββββββββββββββΌβββββββββββββββββββββββββββββββββββββ
β 2. BACKEND API ENGINE β
β Asynchronous FastAPI β’ SQLAlchemy ORM β’ Pydantic V2 Validation β
β JWT Auth β’ W3C VC Cryptographic Signing β’ Role Middleware (Port 8000) β
ββββββββββββββββββββββββββββββββββββββ¬βββββββββββββββββββββββββββββββββββββ
β Multi-Bind SQLAlchemy Sessions
ββββββββββββββββββββββββββββββββββββββΌβββββββββββββββββββββββββββββββββββββ
β 3. FEDERATED 7-DATABASE SQLite STORAGE β
β β’ academic_sis.db β’ auth_iam.db β’ career_pathways.db β
β β’ family_heritage.db β’ institutions_gov.db β’ notifications_events.dbβ
β β’ security_audit.db β
ββββββββββββββββββββββββββββββββββββββ¬βββββββββββββββββββββββββββββββββββββ
β Append-Only File Streams
ββββββββββββββββββββββββββββββββββββββΌβββββββββββββββββββββββββββββββββββββ
β 4. STORAGE LAKE & AUDIT LOG REPOSITORY β
β Per-User Activity Streams & Immutable Biometric Verification Trails β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
- Framework: React 18 with TypeScript strict typing and Vite for lightning-fast HMR and optimized production bundles.
- Styling & UI: Tailwind CSS coupled with custom Vanilla CSS glassmorphism, responsive grid layouts, and dynamic theme switching.
- State & Routing: Context API (
AuthContext.tsx), modular component trees, and immersive Instagram-style interactive widgets.
- Framework: Asynchronous FastAPI service (
backend/main.py) providing high-throughput non-blocking request handling. - Database Layer: Multi-bind SQLAlchemy configuration (
backend/database.py) routing queries across 7 specialized SQLite files with enforced foreign key constraints (PRAGMA foreign_keys = ON;). - Services & Security: JWT bearer token authentication, bcrypt password hashing, W3C Verifiable Credential issuance & verification service (
src/lib/vcService.ts), and role-based access control (RBAC) middleware.
Rather than relying on a monolithic database, EduIdentityAI isolates data domains across 7 independent SQLite stores to enforce privacy and granular access boundaries:
academic_sis.db: Student Information System records, APAAR/ABC IDs, enrollment history, transcripts, and fee ledgers.auth_iam.db: User accounts, credentials, multi-factor authentication passkeys, and role mappings.career_pathways.db: Skill taxonomies, mentorship matching matrices, AI guidance recommendations, and placement tracking.family_heritage.db: Parent-guardian linkage, FERPA/GDPR compliance consent registries, and generational academic lineages.institutions_governance.db: University accreditation metrics, NAAC/AICTE scorecards, faculty workload analytics, and compliance audit reports.notifications_events.db: Real-time event streams, calendar appointments, push notifications, and broadcast announcements.security_audit.db: Immutable security audit trails, adversarial attack logs, and biometric verification history.
- Per-User Audit Lake (
storage/logs/users/): Isolated activity logs and session records per user ID. - Air-Gapped Binaries (
dependencies/): Pre-packaged Python wheel binaries (python_wheels/), node module caches (node_cache/), and offline AI model weight weights (ai_weights/).
EduIdentityAI provides tailored, role-specific workspaces designed for every stakeholder in the educational ecosystem:
- π Student Portal:
- APAAR ID & ABC (Academic Bank of Credits) digital locker integration.
- Enrolled Multi-Institution Hub with live transcript viewer.
- 7-Module ERP covering attendance registers, fee ledgers, and scholarship Direct Benefit Transfer (DBT) tracking.
- W3C Verifiable Credential (DID/VC) cryptographic export for instant employment or higher-ed verification.
- π©βπ« Faculty Desk:
- Passkey office hours calendar and student appointment scheduler.
- Automated Early-Warning Risk Intervention engine flagging attendance drops or academic stress.
- AI-Assisted Letter of Recommendation (LoR) generator synthesizing student achievements.
- π¨βπ¦ Parent & Guardian Portal:
- Encrypted direct faculty messaging and performance monitoring.
- Tuition ledger tracking and secure payment gateway integration.
- FERPA & GDPR-compliant privacy consent matrices controlling data sharing.
- ποΈ Institute Governance (Admin / NAAC):
- NAAC and AICTE accreditation compliance scorecards with automated evidence collation.
- Faculty workload and research performance analytics.
- Admissions ScamShield screening pipeline detecting fraudulent credential submissions.
- π‘οΈ Root Admin Control Center:
- Federated database health & synchronization monitor.
- Advanced threat detection cockpit reviewing security audit logs.
- Dynamic RBAC policy editor and system-wide broadcast manager.
EduIdentityAI bridges administrative rigor with modern, intuitive user engagement through Instagram-style immersive modules:
- Direct Messages (DM) Chat (
UnifiedChat.tsx):- 2-column split layout with categorized conversation threads (EduMentor AI, Campus Global Agora, Faculty Mentors).
- Online presence indicators, typing status, and styled message bubbles supporting rich media and file attachments.
- Interactive audio and video call simulation modals.
- Education , valuable experience centric Reels & Video Feed (
VideoEditStudio.tsx):- Vertical immersive video cards showcasing campus events, research breakthroughs, and tutorials.
- Overlay action buttons for likes, comments, shares, and bookmarking.
- Audio track indicators and reel publishing studio.
- ** Stories Tray (
StoriesBar.tsx)**:- Horizontal stories component featuring gradient rings for unread institutional notices and student startup spotlights.
- Interactive story popup viewer with progress bars and quick reply inputs.
EduIdentityAI includes robust automation scripts, seeding utilities, and cloud deployment pipelines to ensure seamless operation across local development machines and production clusters.
- Windows (
start.bat):- Automatically verifies Python and Node.js environments.
- Initializes and seeds all 7 federated SQLite databases (
python infrastructure/db_init/init_db.py). - Launches the asynchronous FastAPI backend server on port
8000. - Launches the Vite development server on port
3000.
- Linux / macOS (
start.sh):- Shell equivalent executing database initialization, backend daemon startup, and frontend hot-reloading in parallel.
- Automatically creates database tables across all 7 SQLite files if they do not exist.
- Seeds default administrative, faculty, and student test accounts, sample transcripts, and initial accreditation scorecards.
- Multi-stage production
Dockerfilebuilding optimized static assets and packaging the FastAPI backend. docker-compose.ymlorchestrating the full application stack alongside Redis/Valkey caching and QDRANT vector database containers.
- Database schema changes in production are governed by Alembic (
alembic/), supporting zero-downtime upgrades and rollbacks:alembic upgrade head
EduIdentityAI enforces rigorous security principles, adhering to Zero Trust architecture and OWASP Top 10 defenses:
- Zero Trust Data Invariants: Strict validation rules ensuring users can only modify permitted records (e.g., users cannot self-assign administrative roles).
- Immutable Biometric & Audit Logs: Biometric verification attempts and security events are written to append-only tables in
security_audit.db, preventing retroactive tampering. - "Dirty Dozen" Threat Mitigation: Pre-tested security specifications guarding against privilege escalation, path traversal, string bombing (Denial of Wallet), and ghost-key injection.
- Cryptographic W3C VCs: Digital credentials are cryptographically signed using DID standards, ensuring tamper-evident verification.
EduIdentityAI solves critical pain points in modern educational administration and digital identity ecosystems:
- Eliminating Credential Fraud: Replaces paper certificates and easily forged PDFs with cryptographically verifiable W3C Verifiable Credentials tied to decentralized student IDs (APAAR/ABC).
- Streamlining Accreditation & Compliance: Automates the collection and verification of NAAC, AICTE, and institutional governance metrics, reducing audit preparation time by 80%.
- Proactive Student Risk Mitigation: Early-warning AI monitoring detects attendance drops and academic stress before failure occurs, enabling timely faculty intervention.
- Transparent Stakeholder Collaboration: Bridges the communication gap between students, faculty, and parents through secure messaging, transparent fee tracking, and GDPR-compliant consent controls.
- Unified Digital Public Infrastructure (DPI): Acts as an open, modular framework for universities and governmental bodies to deploy sovereign academic identity systems.
- Node.js (v18+ recommended)
- Python (v3.10+ recommended)
- Windows: Double-click or execute
start.batin your terminal. - Linux / macOS: Execute
./start.shin your terminal.
- Install Python Dependencies:
pip install -r backend/requirements.txt
- Initialize Databases:
python infrastructure/db_init/init_db.py
- Start the FastAPI Backend:
uvicorn backend.main:app --reload --port 8000
- Install Frontend Dependencies & Run Vite:
npm install npm run dev
- Access the Application:
- Open your browser at
http://localhost:3000 - API Documentation (Swagger UI):
http://localhost:8000/docs
- Open your browser at
- Refer to
presentation.md,security_spec.md, and then_defined/directory for detailed architectural research papers, presentation decks, and future roadmaps.