Skip to content

Third project of the year 2024-2025. The goal: Create a REST API to find the quickest path between two landmarks located in USA.

Notifications You must be signed in to change notification settings

algosup/2024-2025-project-3-quickest-path-team-3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

f5b8c38 · Feb 10, 2025
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

2024 2025 - Project 3 Quickest Path - Team 3

Team Members

Picture Name Role GitHub LinkedIn
Salaheddine Namir Salaheddine NAMIR Project Manager GitHub LinkedIn
Alexis Lasselin Alexis LASSELIN Program Manager/ Technical Leader GitHub LinkedIn
Vivien Bistrel Tsangue Choungou Vivien Bistrel TSANGUE CHOUNGOU Software Engineer GitHub LinkedIn
Vianney Polard Vianney POLARD Software Engineer GitHub LinkedIn
Lucas Aubard Lucas AUBARD Quality Assurance GitHub LinkedIn
Julian Reine Julian REINE Technical Writer GitHub LinkedIn

Project Description

The goal of this project, the third of the scholar year, is to develop a high-performance software solution that computes the quickest path between two landmarks in the United States. This solution must be implemented in C++ and accessed via a REST API with specific input-output formats.

Project Structure

The project is divided into several directories, each containing a specific part of the project:

  • Documents/: Contains all the documents related to the project (Specifications, Reports, etc.);
  • QuickPath/Src/: Contains the source code of the project;

How to build and run the project

Warning

The project needs CMake to be built. If you don't have it installed, you can download it here.

First, clone the repository by downloading the ZIP file once you click on the green "Code" button.

Extract it and put the .csv file in the QuickPath/ directory.

Then, you open a terminal and navigate to the QuickPath/ directory.

mkdir -p build && cd build
cmake ..
make
./QuickPath

The server will start and you can now access the API at http://localhost:18080/.

How to use the API

We advise you to use Postman to test the API.

How to use the frontend

Once the server is running, you can access the frontend by opening the index.html file in your browser.

Get the quickest path between two landmarks

To get the quickest path between two landmarks, you need to send a GET request to the /path endpoint with the following parameters:

  • source: The name of the source landmark;
  • destination: The name of the destination landmark.
  • format: The format of the response. Can be json or xml. If not specified, the default format is json.

Here is an example of a request:

http://localhost:18080/quickestpath?source={source}&destination={destination}(&format={format})

The result will then be displayed in the format you specified.

About

Third project of the year 2024-2025. The goal: Create a REST API to find the quickest path between two landmarks located in USA.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published