Phase 2 Foundation•cms.metrosafar.com

Metro Safar Content & Transit Management

An independent, dedicated administrative platform managing news, editorial guides, and transit networks. Integrates with the existing NestJS backend and PostgreSQL database without duplicating transit data models.

CMS Operational Modules

Architecture Specification v1.0
📰

Editorial News & Blog

Draft, review, translate, and publish transit updates, travel guides, and articles with rich formatting and cover image support.

Lifecycle: Draft → PublishPhase 3
🚇

Transit Network Manager

Manage metro lines, station sequences, interchange toggles, GPS bounds, gates, platforms, and commuter facilities.

Validation: Graph TopologyPhase 3
💳

Fare Slabs & OD Matrices

Configure distance kilometer bands, station-to-station OD overrides, and zone-based Nol fare tariffs.

5 Fare Models SupportedPhase 3
🖼️

Cloud Media Library

Presigned direct uploads to Cloudflare R2 / AWS S3 with automated WebP compression and CDN edge delivery.

Direct S3/R2 StoragePhase 3
👥

RBAC & Mutation Audit

Multi-user role hierarchy (Contributor, Editor, Transit Manager, Admin) with complete audit trail logging.

4 Roles DefinedPhase 3
⚡

Edge Cache Invalidation

Immediate targeted Cloudflare edge cache purges and Next.js on-demand ISR tag revalidation webhooks.

Tag-Based InvalidationPhase 3