Back to Projects

Busway Ticket Chatbot

A Spring Boot web app for busway ticket reservations using a Neo4j graph database and an AIML-powered chatbot.

2024

Duration

Feb 2024 – Mar 2024

Team Size

2 people

Technologies

5+ tech

Busway Ticket Chatbot

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
Technologies

Frontend

ThymeleafBootstrap

Backend

Spring BootAIML

Database

Neo4j

Tools

DockerGit
Team
  • Ismail ZAHIR
  • Oumaima OUASLI
License
MIT

Free to use, modify, and distribute with attribution.

Project Tags
Spring BootThymeleafNeo4jAIMLDocker

More Projects

NexoWorld
2024
An AR mobile game where players explore real-world locations to earn in-app currency and complete challenges — built on a Spring Boot microservices backend with real-time location sync.
Spring BootFlutterMongoDB+5
Kolchi.ma
2024
A full-featured Moroccan e-commerce and repair marketplace connecting buyers, sellers, and service providers on a polyglot microservices platform with real-time messaging.
DotNet CoreSpring BootNestJS+6