Skip to main content

Overview

Urban Management is a comprehensive urban management platform that provides two specialized APIs:
  • Primary Backend (Port 3001): Administrative operations, web dashboards, and comprehensive management features
  • Mobile Backend (Port 3002): Mobile applications with phone-based authentication and citizen services

Quick Start

Core Features

Primary Backend

  • User Management: Complete CRUD operations for citizens and residents
  • Admin Management: Administrative user management with role-based access
  • Building Management: Hierarchical management of sectors, buildings, floors, units, and blocks
  • Ticket System: Comprehensive support ticket management with technician assignment
  • Permission System: Granular role-based access control with customizable permissions
  • File Management: Secure image upload and document management
  • Address Management: Geographic and address data management
  • Vehicle Management: Vehicle registration and tracking
  • Family Management: Family member associations and management

Mobile Backend

  • Phone Authentication: Secure OTP-based authentication system
  • User Profiles: Mobile-optimized user profile management
  • Citizen Services: Mobile-first citizen service endpoints
  • Optimized Responses: Lightweight, mobile-optimized API responses

API Architecture

Both backends follow RESTful principles with:
  • Consistent Response Format: Standardized success/error response structure
  • Authentication: Secure authentication mechanisms tailored to each use case
  • Validation: Comprehensive input validation using Zod schemas
  • Rate Limiting: Configurable rate limiting for API protection
  • Error Handling: Detailed error responses with proper HTTP status codes

Getting Started

  1. Setup: Follow the Setup Guide to get your development environment ready
  2. Authentication: Understand the Authentication Flow for each backend
  3. Integration: Review the Integration Guide for implementation details
  4. API Patterns: Learn about API Patterns and best practices

Resources