LankaTransit

Full Stack bus ticket booking platform with minimal latency built with Go.

LankaTransit is a comprehensive digital platform engineered to modernize Sri Lanka’s public transport sector. By bridging the gap between traditional paper-based bus operations and a data-driven ecosystem, the project provides an efficient, centralized solution for managing the entire lifecycle of bus operations—from route planning and fleet allocation to real-time seat booking and passenger authentication.

Scope & Architecture

  • Frontend: Built with Vue.js to deliver a highly responsive, real-time user interface and high-end administrative dashboard.
  • Backend: Powered by a high-performance Golang (Go) backend service handling robust routing, transaction management, and business logic.
  • Database: Utilizes SQLite for an efficient, lightweight, and reliable relational data storage solution.

Special Features

  • Route Logic Engine: A sophisticated spatial management system that maps journeys, tracks transit stops (origin, via, destination), and calculates distance and duration analytics.
  • Centralized Administrator Dashboard: Provides tools for operators to oversee fleet deployments, add or edit routes, and monitor bus statuses in real-time.
  • Booking Management System: A robust transaction handler managing live seat selection and dynamic status updates (Active/Cancelled) to ensure consistent data flow between the operator and customer.
  • Secure Authentication: Integrated JWT (JSON Web Token) security layer to ensure that sensitive operational data is restricted strictly to authorized administrative personnel.

Key Insights

  • Backend Engineering with Go: Explored and successfully implemented a Golang backend, learning how to leverage its performance-oriented architecture for scalable REST APIs.
  • Full-Stack Integration: Mastered the integration of a reactive Vue.js frontend with a custom Go backend and SQLite database to maintain a seamless, end-to-end data pipeline.
  • Scalable Modular Design: Gained practical experience in architecting a system built for future enterprise expansion, ensuring the core application can seamlessly adapt to upcoming features like real-time GPS tracking and IoT vehicle monitoring.