This project provides a route optimisation system designed to reduce travel time in heavy-traffic conditions by generating efficient route paths.
It is built using Java (JDK 21) and Spring Boot.
Before running the project, make sure the required tools are installed.
Ensure Java 21 (LTS) is installed on your system.
Download JDK 21 from the official Oracle website:
🔗 https://www.oracle.com/java/technologies/downloads/#jdk21-windows
- Open Environment Variables
- Create a new system variable:
JAVA_HOME=C:\Program Files\Java\jdk-21... - Edit the Path variable → Add:
Run:
java --version
It should display Java 21.x.x.
Maven is used for managing dependencies and running the project.
Download Maven:
🔗 https://maven.apache.org
Add this entry in System Variables → Path:
C:\Program Files\Apache\Maven\bin
run :
mvn -v
Install the following extensions in VS Code:
- Java Extension Pack
- Extension Pack for Java
- Spring Boot Tools (optional but useful)
- Go to the project repo:
🔗 https://github.com/Abdullah-there/route-optimisation - Click Fork
- Open your forked repo and copy the HTTPS link
-
Open VS Code
-
Press Ctrl + Shift + P
-
Type: Git: Clone
-
Choose a folder → Open in VS Code
You can run this project using Maven or using the VS Code debugger.
mvn spring-boot:run
- Open
BackendApplication.java - Click Run ▶ at the top
- Or press F5 to start the application
VS Code (Java Extension Pack) handles build and execution automatically.
--
If you face issues, open an Issue in the GitHub repository.