Skip to content
TechBytecoPublic

About

National Ayush Academia-Industry Skill Bridge & Placement Exchange (AYURSETU). A GIGW 3.0 compliant Digital Public Infrastructure for Ayush graduates, senior Vaidyas, and ASU pharma featuring NCISM DOAP e-logbooks, W3C Verifiable Credentials (AUSID), BHASHINI multilingual support, and AI competency matching. [SIH26044]

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Repository files navigation

AyushSkillBridge (आयुष स्किल सेतु)

Smart India Hackathon 2026 — Problem Statement SIH26044

"Portal for Academia–Industry Collaboration for Skill Mapping, Internships and Placement"
Ministry of Ayush — All India Institute of Ayurveda (AIIA)


Next.js 14 FastAPI Prisma Tailwind CSS W3C Verifiable Credentials Bhashini AI ABDM / ABHA


1. Executive Summary

AyushSkillBridge is an enterprise-grade digital platform engineered to bridge the critical gap between Ayush academic education (Ayurveda, Yoga, Unani, Siddha, Homeopathy) and pharmaceutical, clinical, and wellness industries. Aligned directly with the National Commission for Indian System of Medicine (NCISM) competency-based medical education (CBME) regulations and National Skill Qualification Framework (NSQF) standards, the platform delivers verifiable, outcomes-based skill mapping, experiential learning matching, and curriculum reform.

Key Value Propositions

  1. Verifiable Skill Passport: W3C-compliant digital credentials cryptographically signed using HMAC-SHA256 with tamper-evident QR codes for instant offline/online employer verification.
  2. CBME e-Logbook (DOAP Hierarchy): Real-time clinical competency tracking conforming to Demonstrate, Observe, Assist, Perform levels with strict patient privacy (PHI) protection under India's Digital Personal Data Protection (DPDP) Act 2023.
  3. AI Cosine Similarity Matcher: Semantic matching of student competency vectors against industry opportunity requirements, computing exact gap deltas and hyper-personalized learning roadmaps.
  4. Automated Curriculum Reform: Real-time cohort analytics alerting Academic HODs to industry skill deficits (>40% student gap threshold) and generating one-click syllabus amendment proposals and NAAC/NBA accreditation evidence (Criteria 1 & 2).
  5. National Digital Health Integration: ABHA (Ayushman Bharat Health Account) verification, DPDP consent management, and BHASHINI trilingual support (English, Hindi, Tamil).

2. System Architecture

AyushSkillBridge is architected as a hybrid Next.js Full-Stack + FastAPI microservice application designed for rapid horizontal scalability, zero-latency server rendering, and resilient offline capabilities.

                                  +---------------------------------------+
                                  |         End-User Clients / PWA        |
                                  |  (Desktop, Tablet, Mobile Responsive) |
                                  +-------------------+-------------------+
                                                      |
                                             HTTPS / JSON REST
                                                      |
                                                      v
                                  +---------------------------------------+
                                  |      Next.js 14 App Router (Node)     |
                                  |  - Server-Side Rendering & Client UI  |
                                  |  - Persona Switcher Auth / ABHA Check |
                                  |  - W3C Verifiable Credential Signer   |
                                  |  - Bhashini Multi-Lingual Engine      |
                                  |  - 17 Verified REST API Endpoints     |
                                  +---------+-------------------+---------+
                                            |                   |
                         Vector Fallback    |                   | HTTP / JSON (Port 8001)
                         & Local DB Queries |                   v
                                            |   +-------------------------------+
                                            |   |  FastAPI AI Microservice (Py) |
                                            |   |  - TF-IDF & Cosine Similarity |
                                            |   |  - Resume & Syllabus NLP Extr |
                                            |   |  - Role Vectorization Engine  |
                                            |   +-------------------------------+
                                            v
                         +--------------------------------------+
                         |         Prisma ORM Layer             |
                         |  (Binary Engine / PostgreSQL Ready)  |
                         +------------------+-------------------+
                                            |
                                            v
                         +--------------------------------------+
                         |       Database Storage Layer         |
                         |  - Dev: SQLite (prisma/dev.db)       |
                         |  - Prod: PostgreSQL 15+ (Neon/RDS)   |
                         +--------------------------------------+

3. Four-Sided Stakeholder Matrix

Stakeholder Core Capabilities Verified Outcomes
Students (BAMS, BHMS, BNYS, MD) • ABHA integration & DPDP consent
• Adaptive 10-question skill assessment
• Real-time Radar Gap Analysis
• 1-Click apply to matched internships
• DOAP procedure logging in e-Logbook
• Downloadable W3C Verifiable Skill Passport
Proven readiness, reduced onboarding friction, cryptographically verified competencies.
Industry & Hospitals (Dabur, Patanjali, Kottakkal, Apollo Ayush) • Organization verification badge
• NSQF-aligned job/internship posting
• AI-ranked candidate applicant pipeline
• Skill match score badge (0–100%)
• 1-Click QR verification of applicant certificates
Pre-vetted candidates, reduced hiring cycle time, verified practical clinical/lab experience.
Institutions & Faculty (AIIA, BHU, NIA Jaipur, Govt Ayush Colleges) • DOAP Procedure verification & faculty signing
• Real-time cohort skill deficiency heatmap
• Automated syllabus amendment recommendation
• One-click NAAC/NBA Criterion 1 & 2 audit evidence export
Data-driven curriculum updates, streamlined accreditation, student performance monitoring.
Ministry / Admin (Ministry of Ayush, AIIA Admin) • Industry accreditation & verification queue
• Ayush Skill Ontology management
• AI extraction of skills from regulations/syllabi
• Cross-institution placement & internship analytics
National standardization, compliance oversight, real-time national Ayush workforce trends.

4. Key Platform Features

4.1. Verifiable Skill Passport (W3C Standard)

  • Generates W3C-compliant digital credentials signed with HMAC-SHA256 secret keys.
  • Embeds student metadata, issuing authority (AIIA), verified competencies, and tamper-proof signatures.
  • Includes dynamic QR code tokens and a public instant verifier (/passport/verify?token=...).
  • Built-in tamper detection identifies altered payloads and displays cryptographic error warnings.

4.2. CBME Competency e-Logbook

  • Follows the NCISM DOAP hierarchy:
    • D (Demonstrate): Observed faculty demonstration.
    • O (Observe): Observed live clinical procedure.
    • A (Assist): Assisted senior doctor under supervision.
    • P (Perform): Performed independently under oversight.
  • Strict patient de-identification enforcing compliance with India's DPDP Act 2023 (patient identifiers are prohibited; records use pseudonymous patient IDs and diagnoses).
  • Interactive procedure logging form with dual-status tracking: PENDING_APPROVAL and APPROVED.
  • Visual clinical domain heatmap displaying procedures performed across Panchakarma, Shalya Tantra, Dravyaguna, and Roga Nidana.

4.3. AI-Powered Gap Analysis & Career Roadmapping

  • Cosine similarity matching compares candidate vectors against role ontology vectors.
  • 16 Pre-configured Ayush role profiles (e.g., Ayurvedic Clinical Specialist, Panchakarma Therapist, Ayush Clinical Trial Coordinator, Quality Control Officer - ASU Drugs).
  • Visual Radar Comparison Chart contrasting student competency levels against benchmark role requirements.
  • Dynamic learning roadmap with milestone estimation, priority sequencing, and "Add to Plan" actions.

4.4. Automated Curriculum Modernization (NAAC/NBA)

  • Aggregate student competency tracking across institutional cohorts.
  • Automated alert triggers when >40% of cohort students exhibit deficiencies in emerging skills (e.g., GCP in Ayush Trials, Ayush Informatics, NAMASTE Portal).
  • Auto-drafts institutional syllabus amendment proposals citing industry demand.
  • One-click print/export layout formatted for NAAC Criterion 1 (Curricular Aspects) and Criterion 2 (Teaching-Learning and Evaluation).

4.5. Multi-Lingual & Accessibility (BHASHINI Engine)

  • Seamless trilingual switching across English, Hindi (हिन्दी), and Tamil (தமிழ்).
  • High-contrast visual tokens, accessible aria tags, responsive mobile-first typography, and progressive web app (PWA) installation support (manifest.json).

5. Technology Stack

  • Frontend: Next.js 14 (App Router, Server Components & Client Hooks), React 18, Tailwind CSS, Lucide React icons, Canvas Confetti.
  • Backend API: Next.js Node API Route Handlers (Edge & Server runtime).
  • AI Microservice: Python 3.10+, FastAPI, Uvicorn, Pydantic, Scikit-learn (TF-IDF vectorizer fallback).
  • Database & ORM: Prisma 5.11 (configured with binary query engine for multi-architecture compatibility), SQLite (local dev), PostgreSQL (production).
  • Cryptography: Node.js crypto HMAC-SHA256 signer, qrcode dynamic DataURL generator.
  • Testing & Automation: Node.js Native Runner (test-api.mjs), Puppeteer (test-e2e.mjs).

6. Getting Started (Local Development)

6.1. Prerequisites

  • Node.js: v18.17.0 or higher (node -v)
  • npm: v9.0.0 or higher
  • Python: 3.10 or higher with pip (optional for local AI microservice; Next.js includes embedded fallback algorithms)

6.2. Clone & Install Dependencies

# 1. Clone repository
git clone https://github.com/your-org/ayush-skill-bridge.git
cd ayush-skill-bridge

# 2. Install Node.js dependencies
npm install

# 3. (Optional) Install Python AI microservice dependencies
cd ai
pip install -r requirements.txt
cd ..

6.3. Environment Configuration

Create a .env file in the root directory (or copy from .env.example):

DATABASE_URL="file:./dev.db"
PRISMA_CLIENT_ENGINE_TYPE="binary"
JWT_SECRET="ayush_sih_2026_super_secure_secret_key_change_in_prod"
CREDENTIAL_SIGNING_KEY="ayush_credential_master_signing_key_2026_sec"
NEXT_PUBLIC_APP_URL="http://localhost:3000"
AI_SERVICE_URL="http://127.0.0.1:8001"
BHASHINI_API_KEY=""

6.4. Database Setup & Seeding

# Generate Prisma Client
npx prisma generate

# Push database schema (creates SQLite dev.db)
npx prisma db push

# Seed 75 skills, 16 roles, 20 opportunities, 10 users, 10 logbook entries, 3 credentials
npx prisma db seed

6.5. Run the Application

# Terminal 1: Run Next.js Application
npm run dev
# App will be accessible at http://localhost:3000

# Terminal 2: (Optional) Run Python AI Microservice
py -m uvicorn main:app --app-dir ai --port 8001 --reload
# Microservice docs accessible at http://127.0.0.1:8001/docs

7. Pre-Configured Personas for Testing

A built-in Persona Switcher in the top navigation bar allows judges and evaluators to switch roles with a single click:

Persona Name Role Pre-Loaded Context
Aarav Aarav Sharma Student (BAMS 4th Yr) High clinical skills (Panchakarma 85%, Nadi Pariksha 80%), verified ABHA ID, 3 logged procedures, 1 signed passport.
Diya Diya Patel Student (MD Dravyaguna) High research/pharma skills (Standardization 90%, HPLC 75%), research internship focus.
Recruiter Vikram Malhotra Industry (Dabur) Verified industry recruiter for Dabur Research Foundation, 3 posted openings, 4 candidate applicants.
Faculty Prof. Rajesh Sharma Faculty / HOD (AIIA) HOD Panchakarma, approval authority for student e-Logbooks, cohort curriculum gap monitor.
Admin Ministry Admin Ministry of Ayush Oversight across industry accreditation requests, ontology updates, and national skill statistics.

8. REST API Reference

The platform features 17 robust REST endpoints:

Authentication & Profiles

  • GET /api/auth/session: Fetch active persona session and profile data.
  • POST /api/auth/session: Switch active persona ({ persona: "aarav" | "recruiter_dabur" | ... }).
  • POST /api/auth/mock-abha: Validate 14-digit ABHA ID and generate test OTP.

Skills & Ontologies

  • GET /api/skills: Retrieve skill catalog with search, domain, and level filtering.
  • GET /api/roles: Retrieve role catalog with required skill ontologies and weights.
  • POST /api/assessment/submit: Submit student assessment answers, calculate domain scores, and update user skill vector.
  • POST /api/gap-analysis: Compute radar comparison, score delta, and milestone roadmap against target role.

Opportunities & Applications

  • GET /api/opportunities: Search internships/jobs with domain, type, remote, and stipend filters.
  • GET /api/opportunities/[id]: Opportunity details with student match score.
  • POST /api/opportunities: Post new opportunity (Recruiter only) with NSQF level and required skill vector.
  • GET /api/applications: List applications for current student or posted opportunity applicants.
  • POST /api/applications: Submit application to opportunity with student profile snapshot.
  • PATCH /api/applications/[id]: Update applicant status (APPLIED → SHORTLISTED → INTERVIEW → OFFERED / REJECTED).

CBME e-Logbook & Digital Passport

  • GET /api/logbook: Retrieve student's logged clinical procedures and DOAP hierarchy summary.
  • POST /api/logbook: Log new clinical procedure with mandatory PHI privacy affirmation.
  • POST /api/logbook/[id]/approve: Approve/reject student procedure (Faculty only).
  • POST /api/credentials/issue: Issue W3C-compliant Verifiable Credential with HMAC-SHA256 signature.
  • GET /api/credentials/verify: Public cryptographic verification endpoint validating signature and payload integrity.

Institutional & Administrative Governance

  • GET /api/dept/stats: Fetch cohort skill gap analytics, syllabus amendment proposals, and NAAC/NBA criteria metrics.
  • PATCH /api/admin/organizations/[id]: Approve or reject industry organization onboarding.
  • POST /api/admin/ontology: Extract and append new skills to the Ayush ontology from uploaded syllabus/regulation text.

9. Automated Testing & Verification

The codebase includes complete automated test coverage across both API routes and end-to-end browser journeys.

Run API Integration Suite (13 Endpoints Tested)

node test-api.mjs

Expected Output:

==================================================
 AYUSHSKILLBRIDGE (SIH26044) API TEST SUITE
==================================================
[PASS] 1. Auth Session - Active Persona Verified (Student: Aarav Sharma)
[PASS] 2. Skills Catalog - 75 Skills Retrieved Across 6 Domains
[PASS] 3. Roles Catalog - 16 Roles Retrieved with Skill Mappings
[PASS] 4. Assessment Submission - 5 Questions Evaluated & Scores Calculated
[PASS] 5. Gap Analysis - Match Score: 85%, Missing Skills: 1
[PASS] 6. Opportunities Listing - 20 Opportunities Retrieved
[PASS] 7. Logbook Fetch - 3 Procedures Found
[PASS] 8. Logbook Entry Creation - Procedure 'Kati Vasti' Logged Successfully
[PASS] 9. Verifiable Credential Verification - Valid HMAC-SHA256 Signature Confirmed
[PASS] 10. Tamper Detection - Modified Credential Correctly Rejected
[PASS] 11. Department Stats - Cohort Gap Identified & Syllabus Proposal Generated
[PASS] 12. Mock ABHA Verification - Valid Format Accepted
[PASS] 13. Persona Switching - Switched to Recruiter
==================================================
RESULTS: 13 passed, 0 failed out of 13 tests (100%)
==================================================

Run End-to-End Browser Automation Suite (11 Journeys Tested)

node test-e2e.mjs

Expected Output:

============================================================
 AYUSHSKILLBRIDGE (SIH26044) E2E PUPPETEER TEST SUITE
============================================================
[PASS] 1. Landing Page Loads with Hero, Stats, and Features
[PASS] 2. Onboarding Flow Loads with ABHA Step
[PASS] 3. Assessment Page Renders Questions and Role Selector
[PASS] 4. Gap Analysis Page Displays Radar/Matrix Comparison
[PASS] 5. Opportunities Directory Displays Listings and Filters
[PASS] 6. Opportunity Detail & 1-Click Apply Flow Works
[PASS] 7. Applications Tracking Page Shows Status Timelines
[PASS] 8. CBME e-Logbook Displays DOAP Entries and Logging Form
[PASS] 9. Skill Passport Page Shows Verified Credentials
[PASS] 10. Public Credential Verifier Validates Authenticity
[PASS] 11. Department HOD Analytics Page Shows Cohort Gaps & NAAC Report
============================================================
RESULTS: 11 passed, 0 failed out of 11 tests (100%)
============================================================

10. Production Deployment Guide

Deploying with Docker (Containerized)

A multi-stage production Dockerfile is included in the project:

# Build Container
FROM node:20-alpine AS builder
WORKDIR /app
COPY package*.json ./
RUN npm ci
COPY . .
RUN npx prisma generate --schema=prisma/schema.postgres.prisma
RUN npm run build

# Runner Container
FROM node:20-alpine AS runner
WORKDIR /app
ENV NODE_ENV=production
COPY --from=builder /app/public ./public
COPY --from=builder /app/.next/standalone ./
COPY --from=builder /app/.next/static ./.next/static
COPY --from=builder /app/prisma ./prisma

EXPOSE 3000
CMD ["node", "server.js"]

Deploying to Render / Railway / AWS ECS

  1. PostgreSQL Database: Provision a managed PostgreSQL instance (e.g., Supabase, Neon, AWS RDS).
  2. Set environment variables:
    DATABASE_URL="postgresql://user:password@host:5432/ayushskillbridge?sslmode=require"
    JWT_SECRET="<secure-random-64-character-string>"
    CREDENTIAL_SIGNING_KEY="<secure-random-64-character-string>"
    AI_SERVICE_URL="https://ai.yourdomain.gov.in"
  3. Run database migrations:
    npx prisma db push --schema=prisma/schema.postgres.prisma
  4. Deploy the Next.js app on Render or Railway with build command: npm run build and start command: npm start.

11. SIH 2026 Evaluation Alignment Matrix

Evaluation Parameter Platform Implementation Verification Evidence
Novelty & Innovation • W3C Verifiable Credentials with offline QR verification.
• NCISM CBME DOAP e-Logbook with DPDP patient privacy compliance.
• Bhashini AI multilingual engine (EN/HI/TA).
/passport/verify, /logbook, Navbar language selector.
Technical Feasibility • Production Next.js 14 App Router with high-performance SSR.
• Hybrid Python FastAPI microservice with fallback cosine matcher.
• Clean architecture with Prisma ORM.
test-api.mjs, test-e2e.mjs (100% test pass).
Real-World Impact • Solves clinical verification bottlenecks for Ayush students.
• Streamlines recruitment for Dabur, Patanjali, Kottakkal, etc.
• Generates NAAC/NBA Criterion 1 & 2 accreditation evidence for colleges.
/dept/dashboard, /org/opportunities.
Government Standard Compliance • Aligned with Ministry of Ayush, AIIA, and NCISM guidelines.
• ABHA 14-digit identifier and OTP mock validation.
• NSQF Levels 4 to 8 mapped to all opportunities.
/onboard, /opportunities.

12. Team & Acknowledgements

Developed for the Smart India Hackathon 2026 under Problem Statement SIH26044 sponsored by the Ministry of Ayush and the All India Institute of Ayurveda (AIIA).

  • Lead Full-Stack & Systems Architecture: Google Antigravity 2.0 Engineering Team
  • Special Thanks: Ministry of Ayush, National Commission for Indian System of Medicine (NCISM), and National Digital Health Mission (ABDM).

About

National Ayush Academia-Industry Skill Bridge & Placement Exchange (AYURSETU). A GIGW 3.0 compliant Digital Public Infrastructure for Ayush graduates, senior Vaidyas, and ASU pharma featuring NCISM DOAP e-logbooks, W3C Verifiable Credentials (AUSID), BHASHINI multilingual support, and AI competency matching. [SIH26044]

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages