verdant-roles

byAshish Anand

You are a senior full-stack software architect and developer. Your task is to design and build a production-ready, scalable, secure, and modern coaching institute application (web + mobile backend system) with advanced AI-powered features. ## 🎯 Objective Build a complete EdTech platform similar to Physics Wallah, Allen Digital, Doubtnut, and Aakash, but more advanced and technically scalable. --- ## πŸ‘₯ User Roles Implement role-based access control (RBAC) for: * Students * Faculty * Admin * Staff * Parents Each role must have separate login, dashboard, and permissions. --- ## πŸ” Authentication & Security * JWT-based authentication with refresh tokens * OAuth (Google login optional) * Role-based authorization middleware * Secure password hashing (bcrypt) * HTTPS + encryption * Rate limiting + anti-brute force --- ## πŸ“š Core Modules to Implement ### 1. Learning Management System (LMS) * Upload and stream video lectures (adaptive streaming) * PDF/notes upload * Lecture categorization (course β†’ subject β†’ topic) * Resume playback, bookmarks * DRM protection for videos --- ### 2. Live Class System * WebRTC / Socket-based live classes * Chat during live session * Raise hand feature * Polls & quizzes * Auto recording of sessions * Attendance tracking during live class --- ### 3. Doubt Solving System * Text-based doubts * Image upload (OCR support) * 1-to-1 doubt sessions * AI chatbot for instant answers * Community discussion forum --- ### 4. Online Test System * MCQ + subjective tests * Timer, auto-submit * Negative marking * Randomized questions * Section-wise tests Advanced: * AI-based proctoring (face detection, tab switch tracking) * Adaptive difficulty system --- ### 5. Attendance System * Auto attendance using: * Login tracking * Face recognition (optional) * Live class participation * Manual override by faculty --- ### 6. Analytics & Reporting * Student dashboard: * Daily progress * Weak/strong topics * Time spent * Auto-generated reports (PDF) * Rank prediction * Comparative analytics --- ### 7. AI Features (IMPORTANT) * AI tutor chatbot * Smart study planner * Lecture summarization * Personalized recommendations * AI-generated quizzes --- ### 8. Communication System * Push notifications * Email + SMS integration * Chat system (student ↔ faculty) * Announcements --- ### 9. Payment System * Course purchase * Subscription model * Razorpay/Stripe integration * Invoice generation --- ### 10. Admin Panel * User management * Course/content management * Revenue analytics * System monitoring dashboard --- ### 11. Faculty Dashboard * Upload lectures * Create tests * Track student performance * Manage attendance --- ### 12. Parent Dashboard * Student progress tracking * Attendance alerts * Fee status * Performance reports --- ## πŸ—οΈ Technical Requirements ### Architecture * Microservices architecture * API Gateway * REST or GraphQL APIs ### Backend * Node.js (Express/NestJS) or Django/FastAPI * WebSockets for real-time features ### Frontend * React (Next.js preferred) * Mobile-ready responsive UI ### Database * PostgreSQL (structured data) * MongoDB (optional for flexibility) * Redis (caching) ### Storage * AWS S3 / Cloud storage for videos ### DevOps * Dockerized services * CI/CD pipeline * Cloud deployment (AWS/GCP/Azure) --- ## πŸ”’ Security & Performance * Role-based access control * Data encryption * CDN for video streaming * Load balancing * Horizontal scaling --- ## πŸ“¦ Deliverables (MANDATORY) 1. Complete system architecture diagram 2. Database schema (ER diagram) 3. API design (endpoints with request/response) 4. Folder structure (frontend + backend) 5. Working code for: * Authentication system * One core module (LMS or Test system) 6. Deployment steps 7. README documentation --- ## πŸš€ Development Approach * Step-by-step modular development * Start with MVP: * Auth * LMS * Test system * Then scale to AI + analytics --- ## ⚠️ Constraints * Code must be production-level (not toy examples) * Follow clean architecture principles * Use proper naming conventions * Include error handling and validation * Ensure scalability and maintainability --- ## 🎯 Output Format * Explain architecture first * Then database schema * Then API design * Then code (modular) * Then deployment steps --- Act like a senior engineer in a real company. Do not skip steps. Do not give shallow answers. Build systematically.

LandingLoginLiveClassAnnouncements
Landing

Comments (0)

No comments yet. Be the first!

System Requirements

System Requirement Document
Page 1 of 7

System Requirements Document (SRD)

Project Name: verdant-roles

1. Introduction

The verdant-roles project is an advanced EdTech platform designed to revolutionize the coaching institute experience. Inspired by platforms like Physics Wallah, Allen Digital, Doubtnut, and Aakash, this project aims to deliver a scalable, secure, and AI-powered solution tailored for the Indian education market. With role-based access control (RBAC), personalized dashboards, and cutting-edge AI features, verdant-roles will empower students, faculty, parents, and administrators to achieve their goals efficiently.

This document outlines the system requirements for verdant-roles, ensuring clarity and alignment for development and deployment.

Page 2 of 7

2. System Overview

verdant-roles is a modular EdTech platform that integrates advanced AI capabilities, robust security, and scalable architecture to cater to coaching institutes. The system will support multiple user roles, including students, faculty, admins, staff, and parents, each with tailored dashboards and permissions.

Key features include:

  • Learning Management System (LMS) for video lectures, notes, and DRM protection.
  • Live Class System with WebRTC-based real-time interaction.
  • AI-powered doubt-solving and test systems.
  • Analytics and reporting for student progress and performance.
  • Secure payment systems with subscription models.

The platform will be optimized for both web and mobile interfaces, ensuring accessibility across devices.

3. Functional Requirements

Page 3 of 7

Core Modules

  • As Student, I should be able to access video lectures, notes, and bookmarks.
  • As Student, I should be able to attend live classes and participate in polls and quizzes.
  • As Student, I should be able to ask doubts via text or image upload and receive AI-powered answers.
  • As Student, I should be able to take online tests with adaptive difficulty and AI proctoring.
  • As Student, I should be able to view my progress, weak topics, and rank predictions.
  • As Faculty, I should be able to upload lectures, create tests, and track student performance.
  • As Faculty, I should be able to manage attendance manually or via auto-tracking.
  • As Admin, I should be able to manage users, courses, and system settings.
  • As Parent, I should be able to track my child’s progress, attendance, and fee status.
  • As User, I should be able to receive notifications, emails, and announcements.
  • As User, I should be able to purchase courses and subscriptions securely.

4. User Personas

1. Student

  • Primary user of the platform.
  • Access to courses, live classes, doubt-solving, tests, and analytics.

2. Faculty

  • Responsible for creating and managing content.
  • Tracks student performance and attendance.
Page 4 of 7

3. Admin

  • Manages users, courses, and system settings.
  • Oversees revenue analytics and system monitoring.

4. Parent

  • Monitors student progress and attendance.
  • Receives alerts for fees and performance reports.

5. Staff

  • Handles operational tasks like scheduling and support.

5. Visuals Colors and Theme

Color Palette

The color palette for verdant-roles is inspired by the theme of growth, learning, and technology.

  • Background: #F5F9FC (Soft Sky Blue)
  • Surface: #FFFFFF (Pure White)
  • Text: #2C3E50 (Deep Navy Blue)
  • Accent: #27AE60 (Verdant Green)
  • Muted Tones: #BDC3C7 (Light Gray)

This palette ensures a clean, professional, and engaging interface suitable for educational purposes.

Page 5 of 7

6. Signature Design Concept

Interactive Learning Forest Homepage

The homepage of verdant-roles will feature an immersive, interactive "learning forest" design.

Visual Concept:

  • The background will depict a serene forest with animated trees representing different modules (e.g., LMS, Live Classes, Doubt Solving).
  • Each tree will "grow" as users hover over it, revealing branches that represent sub-features.
  • Clicking on a branch will transition the user to the respective module with a smooth zoom-in animation.

Interactive Features:

  • A glowing path will guide users to explore the forest, symbolizing their learning journey.
  • Micro-interactions like birds flying across the screen and leaves rustling will add life to the design.
  • The forest will subtly change colors based on the time of day, creating a dynamic experience.

This bold and unforgettable design will make the platform instantly fascinating and encourage exploration.

7. Non-Functional Requirements

  • Scalability: Support up to 1 million users concurrently.
  • Performance: Ensure response times under 200ms for core operations.
  • Security: Implement role-based access control, encryption, and rate limiting.
  • Availability: 99.9% uptime guarantee.
  • Localization: Support Indian locale defaults (INR currency, IST timezone).

8. Tech Stack

Page 6 of 7

Frontend

  • React for Web
  • React Native for Mobile

Backend

  • Python
  • FastAPI

Database

  • MySQL or MariaDB (preferred for structured data)
  • MongoDB (optional for analytics)

AI Models

  • GPT 5.4 for user-friendly responses
  • Claude 4.6 Opas for academic or coding work
  • Gemini 3.1 Pro for friendly responses
  • Google Nano Banana for image generation

AI Tools

  • Litellm for LLM Routing
  • Langchain

Orchestration

  • Docker and docker-compose for local development
  • Kubernetes for server-side orchestration
Page 7 of 7

9. Assumptions and Constraints

Assumptions

  • Users will have access to stable internet connections.
  • The platform will primarily target Indian coaching institutes.
  • AI features will require integration with external APIs.

Constraints

  • Budget constraints may limit the use of premium cloud services.
  • Compliance with Indian data protection laws (e.g., GDPR equivalent).

10. Glossary

  • RBAC: Role-Based Access Control.
  • JWT: JSON Web Token, used for secure authentication.
  • DRM: Digital Rights Management, protects video content.
  • WebRTC: Web Real-Time Communication, enables live classes.
  • AI Proctoring: AI-based monitoring during tests to prevent cheating.
  • IST: Indian Standard Time.

This document provides a comprehensive overview of the requirements for verdant-roles. Let me know if you’d like to refine or expand any section further!

Landing design preview
Login: Sign In
Dashboard: View Analytics
Users: Manage Roles
Users: Edit Permissions
Courses: Manage Catalog
Revenue: View Reports
Settings: Configure System