Back to Portfolio

Case Study 01 . Desktop ERP / School Transport Management System

Secure Drop ERP

An offline-first Electron ERP for school transport operations, built to manage drivers, students, routes, fees, attendance, trip logs, and cloud sync through local SQLite and Neon PostgreSQL.

Problem

Manual transport operations

University transport records for drivers, students, routes, trips, and payments were difficult to manage manually, causing delays and data inconsistencies.

No reliable offline workflow

Transport staff needed a system that could continue working even without internet, especially for daily fee records, attendance, and driver activity.

Fragmented fee and route tracking

Student payments, driver ledgers, assigned routes, and service logs were not connected in one centralized workflow, making reporting slow and error-prone.

Solution

Offline-first ERP architecture

BR7 built a desktop ERP using Electron, React, and SQLite so transport operations could run locally without depending on constant internet access.

Centralized transport management

The platform unified drivers, students, routes, fees, attendance, driver ledgers, and trip logging into one structured dashboard.

Cloud sync with Neon PostgreSQL

Local SQLite records are tracked with sync status and pushed or pulled from Neon PostgreSQL, enabling backup and multi-device/cloud consistency.

Architecture

Desktop application

Electron main process handles IPC, database operations, file dialogs, printing, and sync triggers.

Renderer UI

React frontend communicates through a protected preload bridge using window.electronAPI.

Local database

SQLite stores drivers, students, routes, services, payments, attendance, ledgers, users, and sync status.

Cloud sync

Pending local records are synced to Neon PostgreSQL, while cloud records are pulled and merged locally.

Access control

Role-based routing protects admin functionality through React Router and authentication context.

Measured results

Offline-first
Local ERP availability

Core transport operations can continue even when internet access is unavailable.

Centralized
Transport data management

Drivers, students, routes, fees, attendance, trips, and ledgers are managed from one desktop system.

Automated
Cloud sync workflow

Database mutations trigger throttled sync, reducing manual backup and update work.

Secure
Renderer database access

React components do not access the database directly; all operations go through Electron IPC and preload bridge.