Busway Ticket Chatbot
A Spring Boot web app for busway ticket reservations using a Neo4j graph database and an AIML-powered chatbot.
Duration
Feb 2024 – Mar 2024
Team Size
2 people
Technologies
5+ tech

Project Overview
The Busway Ticket Chatbot simplifies busway ticket reservations by leveraging a Neo4j graph database to efficiently manage complex data relationships — bus schedules, stations, and drivers. The system incorporates an AIML-powered chatbot that enables a conversational interface for booking tickets and obtaining travel information, transforming the traditional booking process into an interactive experience.
Features
- ✓Trip visualization — explore available trips with route details, departure and arrival times
- ✓Online reservation system — 24/7 hassle-free ticket booking experience
- ✓Graph-based data management — Neo4j models relationships between buses, drivers, and stations
- ✓AIML-powered chatbot — conversational interface for booking and travel queries
- ✓User-friendly interface built with Thymeleaf and Bootstrap
- ✓Dynamic schedule updates — real-time accuracy for all transit data
Challenges
- •Modeling bus routes, stations, and drivers as a graph structure in Neo4j
- •Integrating an AIML chatbot engine into a Spring Boot application
- •Keeping the chatbot responses contextually accurate for booking flows
Solution
Modeled the transit network as a graph in Neo4j with nodes for stations, buses, and drivers. Used Spring Data Neo4j for queries. Integrated AIML patterns for chatbot conversation flows, with Spring Boot orchestrating the interaction.
Architecture
MVC Spring Boot application with Thymeleaf templates. Neo4j graph database stores transit relationships. AIML engine processes conversational booking requests and maps them to backend service calls.
Results & Impact
- ✓Conversational booking interface reduces friction for non-technical users
- ✓Neo4j graph traversal enables efficient route and schedule lookups
- ✓Dockerized deployment for easy replication across environments
Frontend
Backend
Database
Tools
- Ismail ZAHIR
- Oumaima OUASLI
Free to use, modify, and distribute with attribution.
More Projects

