⚠️ Offline Mode: Showing cached database records. Updates will resume when online.

Welcome back

Sign in to access Kalvi Maram OpOS

Don't have an account? Register here

Dashboard Overview

Real-time resource tracking and repair analytics.

Registered Schools
0
🏫
Unadopted Demands
0
📋
Scheduled Repaired Work
0
⚙️
Total Completed Repairs
0

Urgent Needs List

No pending requests found.

Scheduled Work Orders

No active bookings.

Schools Directory

School Name UDISE Code State District Block Type Students Contact Phone Status Actions
Loading schools catalog...

Resource Repair Demands

Loading repair demands...

Adoption Work Schedules

School & Need Title Donor Details Scheduled Execution Date Assigned Technician Service Status Actions
Loading schedules timeline...

Supporters Directory

Donor Name Mobile Category Cause Region LinkedIn Actions
Loading donors directory...

System Configuration & Settings

Manage user authorization privileges and inspect system API routes.

User Account Email Assigned Role Region Boundary Value Registration Date Configure Access
Loading authorization configurations...

API Authentication & Usage

The OpOS backend exposes REST endpoints to manage operations. All requests except login/register require authentication using a JSON Web Token (JWT) sent via HTTP Authorization header.

Authorization: Bearer <your_jwt_token>
💡 Tip: Response payloads are JSON objects always wrapping their output in standard envelope format containing success: true/false and data or error keys.

Authentication Endpoints

POST /api/auth/login

Authenticate client profile credentials and obtain JWT access token.

Request Body
{
  "email": "admin@kalvimaram.org",
  "password": "adminpassword123"
}
Success Response (200 OK)
{
  "success": true,
  "data": {
    "session": { "access_token": "ey..." },
    "user": { "id": "uuid", "email": "admin@kalvimaram.org", "role": "Admin" }
  }
}
POST /api/auth/register

Create login account and profile for Donors, Technicians, or Officers.

Request Body
{
  "email": "donor@example.com",
  "password": "securepassword",
  "role": "Donor",
  "region": "Chennai",
  "first_name": "John",
  "last_name": "Doe"
}

Schools Directory API

GET /api/schools All Roles

Fetch the list of registered government schools. Supports optional filter query parameters: region, limit.

POST /api/schools Admin, State, District, Block

Register a new school in the operations database.

Request Body
{
  "name": "Govt High School",
  "udise_code": "33020100105",
  "state": "Tamil Nadu",
  "district": "Chennai",
  "block": "Adyar",
  "student_count": 250,
  "headmaster_name": "Rajesh K.",
  "mobile_number": "+919876543210"
}
PUT /api/schools/:id Admin, State, District, Block

Update fields of a registered school profile.

DELETE /api/schools/:id Admin, State, District, Block

Permanently delete a school. Cascades to delete demands and bookings.

Resource Needs / Repair Demands API

GET /api/requests All Roles

Fetch all repair requests. Filter using query params status (e.g. pending, approved, adopted).

POST /api/requests Admin, State, District, Block

Create a new resource request / repair demand for a school.

Request Body
{
  "school_id": "school_uuid",
  "title": "Repair RO Water Plant",
  "description": "Filter needs replacement.",
  "cost_estimate": 12000.00
}

Sponsorship & Adoption Bookings API

GET /api/bookings All Roles

Fetch active scheduled work order bookings and sponsorships.

POST /api/bookings Admin, State, District, Donor

Sponsor a demand request and create a work booking schedule.

Request Body
{
  "request_id": "request_uuid",
  "scheduled_date": "2026-07-01T10:00:00Z"
}

Donors Directory API

GET /api/donors Admin, State, District

List profiles of all registered donor partners.

Technicians Directory API

GET /api/technicians Admin, State, District, Block

List all registered technician profiles and skills status.

Users Access Control Panel API

GET /api/users Admin

Read registration status and emails for all database roles.

PUT /api/users/:id Admin

Update system role (e.g. Admin, State) and region restrict boundaries.

Request Body
{
  "role": "State",
  "region": "Tamil Nadu"
}
Timestamp Recipient Phone Direction Message Content Status Details / Error
Loading WhatsApp message audit logs...

Technicians Directory

Name Employee ID Contact Details Skills Region Boundaries Availability Actions
Loading technicians list...

School Detail Profile

Associated School Demands

No active demands.

Resource Need Detail

Adoption Sponsorship

This need is not currently sponsored or adopted.

Adoption Booking Details

Donor Partner Profile

Sponsored Project Adoptions

No active sponsorship adoptions.

Technician Partner Profile

Assigned Repair Demands

No assigned active work bookings.

Register New School

Post School Need / Demand

Sponsor Adoption & Schedule Repair

Need Title

School Name, District

Update Adoption Booking

Register New Technician

Register New Donor