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.
cd route-project-backend
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.
--
This is the frontend of the Route Optimisation system, built using Next.js, React, and TypeScript. It provides UI for drawing nodes, viewing routes, and interacting with the backend API.
cd route-project-frontend
Download from the official website:
https://nodejs.org/en/download/prebuilt-installer
Install Node.js 20+ (LTS).
Verify installation:
node -v
npm -v
You should see versions for both.
Recommended extensions:
- ES7+ React/Redux snippets
- Prettier – Code formatter
- Tailwind CSS IntelliSense (if using Tailwind)
- Next.js extension pack (optional)
https://github.com/Abdullah-there/route-optimisation-frontend
- Open repo
- Click Fork
- Open VS Code → Press Ctrl + Shift + P
- Search: Git: Clone
- Paste your forked repo link
Open the frontend project folder in VS Code and run:
npm install
This installs all required Next.js dependencies.
Start the app:
npm run dev
Frontend will be available at: https://localhost:3000
Next.js will auto-refresh when you edit files.
npm run build
npm start
If you face issues, open an Issue on the GitHub repository.