Loading
All projects

Selected workWeb/App Development

Building RIMS: An Offline-First, Multi-Tenant School ERP & Mobile Ecosystem

An offline-first, multi-tenant school ERP and native mobile app featuring biometric security, real-time attendance sync, and complete academic management.
1. Executive Summary

Most commercial school management systems (SMS / ERP) are built around desktop-heavy administrative interfaces, requiring fast, continuous internet access and vendor lock-in. In regions like Nepal, schools operate across varying connectivity environments, require compliance with Nepal CDC (Curriculum Development Centre) grading, and must support dual calendar systems (Bikram Sambat B.S. & Gregorian A.D.).

RIMS (Rishi Institution Management System) was engineered from the ground up to solve this: an end-to-end, high-performance institutional ERP uniting School Administrators, Teachers, Students, and Parents into a single cohesive platform.

It pairs an enterprise-grade web cockpit with a native Android APK and iOS PWA featuring hardware biometric login (Touch ID / Face ID), self-hosted in-app APK auto-updates, and offline-first background sync.


2. System Architecture & The 4 Dedicated User Portals

Rather than treating mobile users as second-class citizens, RIMS employs a single, server-verified authentication hub (#/app) that dynamically switches context and permissions across roles:

┌──────────────────────────┐
│ RIMS Gateway (#/app) │
│ (WebAuthn & Server) │
└─────────────┬────────────┘
│
┌──────────────────┬──────────────┴───────────────┬──────────────────┐
▼ ▼ ▼ ▼
┌──────────────┐ ┌──────────────┐ ┌──────────────┐ ┌──────────────┐
│ Admin SMS │ │Teacher Studio│ │Student Portal│ │Parent Portal │
│ Dashboard │ │ & Cockpit │ │ & Dossier │ │ & Dues │
└──────────────┘ └──────────────┘ └──────────────┘ └──────────────┘

A. Institutional SMS Admin Dashboard
Multi-Branch Operations: Centralised management for institutions running multiple satellite campuses.
Admissions & Merit Pipeline: Digital application intake, entrance scoring, and merit-list generation.
Finance & Billing Ledger: Invoice creation, receipt generation, fee defaulter tracking, and fiscal accounting.
Human Resources & Payroll: Faculty attendance tracking, leave sanctioning, and salary generation.

B. Faculty Cockpit (Teacher Workspace)
Real-Time Roll Call: 1-tap cohort attendance synced live with parent notifications.
Homework & Material Dispatch: Targeted assignments per timetable period, with student submission checklists.
CDC Examination Marksheet: Internal theory + practical mark entry with automatic GPA calculation.
Daily Teaching Routine: Live schedule viewer mapped to allocated periods and campus rooms.

C. Student & Parent Portals
Digital PVC Student ID: In-browser cryptographic barcode generation and profile dossier.
Terminal Marksheets: Nepal CDC-compliant terminal report cards with grade trends.
Homework Hub: Real-time assignment checklist with "Mark Complete" indicators.
Campus Bus GPS Transit: Route progression tracker with stop arrival ETAs.
Leave Application Center: Direct digital leave submissions to designated class teachers.

3. Key Engineering Highlights & Innovations

1. Offline-First Synchronization & Background Queues

School administrators and teachers often record attendance in basements, auditoriums, or areas with spotty connectivity.

Optimistic Local Caching: Local session storage and IndexDB cache rosters, timetables, and recent records.
Indexed Action Queue: If a teacher takes attendance offline, the network layer catches network interruptions, queues the roll call payload, and automatically syncs it as soon as connectivity resumes.

2. Self-Hosted Native Android Distribution & In-App Auto-Updates

Instead of relying strictly on third-party app stores with lengthy review queues, RIMS features a self-hosted continuous release pipeline:

Built on Capacitor 8 for native Android performance.
In-app checkForAppUpdate() service compares the running binary version against /download/version.json on the server.
The application alerts users when a newer build is available, offering a one-tap direct APK download and update prompt.
A unified Settings & APK Updates modal is accessible across every dashboard (Admin, Faculty, Student, Parent).
3. Hardware Biometric Authentication (WebAuthn / Passkeys)

To eliminate credential fatigue on mobile devices:

Native integration with device biometric sensors (Fingerprint / Face ID) using standard WebAuthn APIs.
Enrolled credentials store public keys linked to the student or staff record for one-touch secure authentication.

4. Dual Calendar Engine (Bikram Sambat & Gregorian)
Native conversions between Bikram Sambat (B.S. 2083) and Gregorian (A.D. 2026).
Timetables, exam schedules, and attendance ledgers dynamically render based on user preference without server recalculations.

4. Impact & Performance Metrics
Metric Measurement
Lighthouse Performance Score 98+ / 100 (Vite code splitting & tree-shaking)
Cold Startup to Interactive < 1.2s on 4G networks
Android APK Bundle Size ~31.8 MB (Fully packaged offline runtime)
Sync Latency < 250ms on teacher roll-call sync

5. What I Offer (Services & Development Capabilities)

Looking to build a mission-critical platform or mobile application for your organisation? Here is how I can help:

Custom Enterprise & School ERPs: Full-stack development with granular role-based access, financial billing, and academic records.
Offline-Capable Web & Mobile Apps: Cross-platform solutions (iOS, Android, PWA) built with React and Capacitor, designed to thrive in high-latency or intermittent connectivity environments.
Hardware & Biometric Integration: Passwordless authentication, barcode/QR scanner integration, and hardware sensor communication.
Custom Deployment Pipelines: Self-hosted release management, automated staging, and robust server migration scripts.

Let’s build something extraordinary.
If you have a project in mind, reach out directly via rishikeshrana.com.np
or connect with me via Rishirana9841@gmail.com