HeyTaxi is a simple command-line-based online taxi simulation written in Java. It randomly generates drivers and allows passengers to request travel. The system automatically selects the closest available driver based on the passenger's location, and simulates a full travel experience in the terminal.
- Automatic random generation of drivers
- Register and manage passengers
- Request travels with auto-assigned nearby drivers
- Travel tracking after request
- Rating system for drivers and passengers
- Persistent data storage (database)
- Java 21 or higher
- Maven
Clone the repository and use Maven to build the project:
git clone https://github.com/aref-daei/heytaxi.git
cd heytaxi
mvn clean compileThen run the program manually:
mvn exec:javaThis project is under active development. Planned features include:
- Integrate Hibernate for object-relational mapping and database management.
- Refactor the application into a REST API using Spring Boot.
This project is licensed under the MIT License. See the LICENSE file for more details.