JainKwiz

A modern, gamified learning platform that makes Jain philosophy accessible, engaging, and interactive for the global Jain community.

Live at: jainkwiz.com


The Problem

The Jain community has a rich tradition of religious education through Pathshalas (community schools). Children learn Jain scripture, history, philosophy, and practice — but mostly through textbooks and rote memorisation.

The challenges are real:


The Solution

JainKwiz transforms Jain education into an interactive, competitive, and globally accessible experience — using the same engagement patterns as Duolingo, Kahoot, and Khan Academy, applied to authentic Jain content.

The core product loop:

  1. Learn — structured question sets with explanations, categorised by topic and difficulty
  2. Practice — adaptive review based on spaced repetition (SM-2 algorithm)
  3. Compete — real-time multiplayer tournaments with friends or global community
  4. Progress — XP, levels, streaks, badges, and leaderboard rankings
  5. Explore — AI chatbot for deeper questions, Jain festival calendar, glossary

Features

Quiz Engine

Gamification

Live Tournaments

AI Learning Assistant

Community Features

Progressive Web App


Architecture

High-Level Architecture

┌─────────────────────────────────────────────────────────────┐
│                      FRONTEND (PWA)                         │
│              React + Ionic + TypeScript                     │
│         Azure Static Web Apps (CDN-distributed)            │
└────────────────────────┬────────────────────────────────────┘
                         │ HTTPS
          ┌──────────────┴──────────────┐
          │                             │
    ┌─────▼──────┐               ┌──────▼─────┐
    │  REST API  │               │  SignalR   │
    │  (Node.js  │               │  (Azure    │
    │  Azure Fn) │               │  SignalR   │
    └─────┬──────┘               │  Service)  │
          │                      └──────┬─────┘
    ┌─────▼──────────────────────────── │ ──────┐
    │              BACKEND              │       │
    │                                   │       │
    │  ┌──────────┐   ┌─────────────┐  │       │
    │  │ Cosmos DB│   │ Azure OpenAI│◄─┘       │
    │  │(NoSQL)   │   │ (GPT-4o +   │          │
    │  └──────────┘   │  Embeddings)│          │
    │                 └─────────────┘          │
    │  ┌──────────┐   ┌─────────────┐          │
    │  │Azure Blob│   │ Azure AI    │          │
    │  │(Media)   │   │ Search(RAG) │          │
    │  └──────────┘   └─────────────┘          │
    └───────────────────────────────────────────┘

Component Breakdown

Frontend: React + Ionic

Real-time: Azure SignalR Service

Backend: Node.js on Azure Functions

Database: Azure Cosmos DB

AI: Azure OpenAI + Azure AI Search

Hosting: Azure Static Web Apps


Gamification Design

The gamification system is built on established learning science principles:

XP Formula:

Base XP = difficulty_multiplier × correct_answers
Streak Bonus = base_xp × (0.1 × min(streak_days, 10))
Tournament Bonus = base_xp × position_multiplier
Daily XP = quiz_xp + streak_bonus + tournament_bonus

Level Thresholds: Levels follow an exponential curve — early levels are achievable quickly to build momentum, later levels require sustained engagement.

Spaced Repetition (SM-2): Questions are scheduled for review based on performance:

This means users spend their time on questions they actually need to practice, not questions they already know perfectly.


Content Strategy

Building the question database was as challenging as building the technology:

Content categories:

  1. Bhagwan Mahavir — life, teachings, Kalyanakas
  2. 24 Tirthankaras — identities, symbols, shrines
  3. Jain History — key events, empires, councils, eras
  4. Philosophy & Principles — Anekantavada, Syadvada, Ahimsa, Aparigraha, Asteya
  5. Paryushana & Festivals — Diwali, Paryushana, Mahavir Jayanti, Akshaya Tritiya
  6. Jain Shlokas — Navkar Mantra, Uvasaggaharam, Bhaktamar
  7. Saints & Sadhus — Acharya, Upadhyaya, Muni, Aryika, notable saints
  8. Community & Culture — Pathshala, Jain organisations, customs, food, terminology

Quality process:


Cost Architecture

Building JainKwiz as a self-funded side project required genuine cost discipline:

Service Tier Monthly Cost
Azure Static Web Apps Free $0
Azure Functions Consumption ~$2–5
Cosmos DB Serverless ~$3–8
Azure SignalR Free (20K messages/day) $0
Azure OpenAI Pay-per-use ~$5–15
Azure AI Search Free (50MB index) $0
Azure Blob Storage Pay-per-use ~$1
Total   ~$11–29/month

The architecture was intentionally designed to fit within Azure free tiers and serverless consumption models. This is not a limitation — it is a demonstration that enterprise architecture patterns can be applied cost-effectively at any scale.


Learnings & What I Would Do Differently

What worked well:

What I underestimated:

What I would do differently:


Roadmap

Q2 2026 (In Progress)

Q3 2026

Q4 2026


Get Involved

JainKwiz is built for the Jain community, by the community.

Want to contribute questions? — Reach out if you have subject-matter expertise in Jain philosophy, history, or culture. The question review process takes approximately 30 minutes per set.

Running a Pathshala? — I am building the classroom mode specifically for Pathshala teachers. If you would like to be an early tester, please get in touch.

Have feedback? — Every piece of feedback directly influences the product roadmap. lovyjain18@gmail.com or LinkedIn.


JainKwiz represents the intersection of technology, culture, and community impact — proof that enterprise architecture skills can build products that matter beyond the enterprise.

Visit JainKwiz →