NextSchool - AI-Powered School Management SystemNextSchool - AI-Powered School Management System
AI-powered School Management ERP built with Next.js 16, React 19, and Prisma. Features student, teacher, and admin portals. Recently UpdatedNextSchool - AI-Powered School Management System
AI-powered School Management ERP built with Next.js 16, React 19, and Prisma. Features student, t...
Overview
NextSchool is a state-of-the-art, enterprise-grade School Management System and ERP built using the most modern web technologies. Engineered with Next.js 16, React 19, and Prisma ORM, it offers a secure, highly responsive, and high-performance solution for educational institutions of all sizes.
Featuring fully integrated student, teacher, parent, and administrator portals, NextSchool automates academic workflows, payroll, fee collection, library tracking, and communication. It includes built-in AI capabilities (such as retrieval-augmented chat helpers and automated content generation) and enterprise-grade security features like biometric Passkey login and multi-factor authentication (MFA).
Demo Login Credentials
You can use the following default credentials to test the administrator and management portals (after running the database seed script):
- Super Administrator Dashboard:
Username:admin
Password:Admin@12345 - Academic Manager Dashboard:
Username:academic_manager
Password:Admin@12345 - Exam Controller Dashboard:
Username:exam_controller
Password:Admin@12345
Key Portals and Features
- Administrator Dashboard: Manage institutional settings, fee structures, classes, shifts, section assignments, GPA grading rules, and system backups.
- Teacher Portal: Log class attendance, enter exam marks, manage subject allocations, and view personalized timetables.
- Student Portal: Track attendance trends, view exam grades, check schedules, download reports, and access study materials.
- Parent Portal: Monitor child attendance, review report cards, clear fee invoices, and download generated admit cards.
- AI-Powered Chatbot: Built-in RAG (Retrieval-Augmented Generation) assistant to answer user questions about school schedules, guidelines, and curriculum dynamically.
- Financial Management: Configure fee types, generate PDF invoices, track payment histories, process cash payments, and handle staff salary structures/payslips.
- Timetable and Schedules: Build section schedules and classroom allocations with conflict check logic.
- Library Management: Category tracking, book checkouts, returns log, and automated fine calculations.
- Communication Center: Send notices, announcements, and events across portals with queue-based email delivery.
Advanced Technology Stack
- Framework: Next.js 16 (App Router) and React 19
- Programming Language: 100% Strict TypeScript
- Database ORM: Prisma ORM (Native support for PostgreSQL)
- Styling Engine: Tailwind CSS 4 and Material UI (MUI)
- Task Queue: BullMQ + Redis for asynchronous background email processing and PDF generation
- Authentication: NextAuth (Auth.js) supporting credentials and passwordless biometric security
- PDF Generation: React-PDF and Hyperline Tailwind styling engines
Enterprise-Grade Security and Performance
- Biometric Passkeys (WebAuthn): Allow users to sign in securely using TouchID, FaceID, or Windows Hello.
- Multi-Factor Authentication (MFA): TOTP (Google Authenticator) and email verification code support.
- Granular RBAC: Resource-based permission rules (e.g., settings::view, user::create) enforced server-side.
- Offline-Ready Uploads: Seamless fallback to local static file storage when cloud credentials are not configured, enabling easy offline review.
- Performance Bounded AI: Optimised database pre-filtering for context search, protecting server memory from Node.js event-loop blocks.
- Telemetry Logging: Fully structured JSON logging to redact PII and credentials automatically in production logs.
What is Included in the Purchase Package
- Full Source Code: Completely clean, linted, and build-safe Next.js 16 + React 19 source codebase.
- Prisma Migrations: Ready-to-deploy schema and initial seed scripts.
- Comprehensive Documentation: Step-by-step installation guides, environment variable setups, database migration instructions, and customization references.
Features
- Complete School ERP with Admin, Teacher, Student, and Parent portals
- Built with Next.js 16 (App Router), React 19, TypeScript, and Prisma ORM
- AI-powered RAG Chatbot for dynamic school support and information retrieval
- Biometric Passkeys (WebAuthn) passwordless authentication (TouchID, FaceID)
- Multi-Factor Authentication (MFA) via TOTP (Google Authenticator) and Email OTP
- Granular Role-Based Access Control (RBAC) with server-side validations
- Complete fee management, payment histories, and PDF invoice generation
- Classroom allocations, conflict-free scheduling, and timetables
- Library book checkouts, returns, categories, and fine calculations
- Asynchronous background tasks using BullMQ and Redis for emails and reports
- Offline-ready file upload system with local disk storage fallback
- Fully responsive UI built with Tailwind CSS 4 and Material UI (MUI)
- High-performance database pre-filtering for context-aware AI search
- Complete documentation for setup, deployment, and customization
Requirements
- Node.js: Node.js version 22.x or higher is required.
- Database: PostgreSQL (version 14 or higher recommended).
- Task Queue Cache (Optional): Redis (version 6.x or higher) is required if enabling BullMQ background queues for email delivery and PDF report generation.
- Server Resources: Minimum 512MB RAM (1GB RAM or higher recommended for compiling Next.js assets).
- Hosting Compatibility: Can be hosted on any VPS/Cloud server (e.g., DigitalOcean, AWS, Linode) running PM2 or Docker, or deployed directly to Vercel/Netlify serverless setups.
Instructions
- Extract Archive: Extract the purchased package ZIP file on your computer or server.
- Install Dependencies: Open your terminal in the extracted project folder and run:
npm install
- Environment Configuration: Copy the file
.env.exampleto a new file named.envand fill in your PostgreSQL database connection string:DATABASE_URL="postgresql://username:password@localhost:5432/database_name?schema=public"
- Database Migration: Set up the database tables by running the Prisma migrations:
npm run prisma:migrate
- Seed Initial Data: Generate the default administrator roles, permissions, and test accounts by running:
npm run prisma:seed
- Start Development Server: Launch the application in development mode:
npm run dev
- Access Portal: Open your web browser and navigate to
http://localhost:3000. You will be automatically redirected to the login page where you can log in using the usernameadminand passwordAdmin@12345.








