Download Latest Version backup_all.tar.gz (844.2 MB)
Email in envelope

Get an email when there's a new version of stuffs

Home / app / makco / scripts
Name Modified Size InfoDownloads / Week
Parent folder
test_api.py 2026-03-31 8.3 kB
Totals: 1 Item   8.3 kB 0

Makco - Chennai Metro Booking App

A standalone metro ticketing application that integrates with the Chennai Metro (CMRL) infrastructure through the MovingTech/Namma Yatri transport API platform.

What This Is

This project reverse-engineers and documents the complete Chennai One / Namma Yatri metro booking API. We use their authentication, their data, and their payment infrastructure to build our own metro ticketing app.

Status

  • Auth: Working (phone OTP based, 4-digit)
  • Metro Data: 41 stations, 4 routes (Blue/Green lines)
  • Search/Quote: Working (live fare pricing)
  • Booking: Working (creates booking, returns Juspay payment order)
  • Payment: Juspay integration (production)
  • Tickets: QR code generation ready

Quick Start

# Clone the repo
git clone https://github.com/pandatern/makco.git
cd makco

# Read the docs
cat docs/API_REFERENCE.md
cat docs/AUTH_FLOW.md
cat docs/BOOKING_FLOW.md

Documentation

Project Structure

makco/
  docs/                    # Documentation
  src/                     # Source code
    app/                   # FastAPI application
      api/                 # API endpoints
      models/              # Data models
      core/                # Config, database, security
      services/            # Business logic
    data/                  # Seed data, metro stations
    frontend/              # PWA frontend
  scripts/                 # Utility scripts
  tests/                   # Test suite

Tech Stack

  • Backend: Python 3.10 + FastAPI
  • Database: SQLite (dev) / PostgreSQL (prod)
  • Auth: JWT + OTP (phone-based)
  • Payments: Juspay (UPI, cards, wallet)
  • Frontend: PWA (HTML/CSS/JS)

License

For internal development use only.

Source: README.md, updated 2026-03-31