Skip to content

Sprinter05/nullCO2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

72 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nullCO2


The idea for this project started at HackUDC 2024 when they gave us the challenge of coding a program that would generate a trip from point "x" to point "y" generating the less pollution possible with a focus on group trips, such as business trips. Hence the name, nullCO2.

The Implementation

Backend

Developed by Sprinter05 in node.js, with packages like express.js and amadeus. It provides a set of HTTPs GET requests that are used by the frontend to retrieve data from the different APIs that conform this project in a simple and easily accessible way. More information can be read in the API Readme.

Frontend

Developed by yagueto in flask. Provides a visualization for the backend, using HTML/CSS as well as matplotlib for plotting graphs.

Path finder algorithm

Developed by dza205 also in [node.js] after switching between different Functional Programming languages that simply did not work out. It uses the json-graph-algorithms package to create a Graph that connects all passangers with the airport and with one another and then find the minimal path using Kruskal's algorithm to get everyone to the airport using the least amounts of cars and taking the shortest possible path.

The Process

The development of this project was definetly not an easy one. The APIs used in the backend are not the most well documented and easy to work with, probably due to their testing nature, but even with that they did have some sketchy endpoints. The performance of the queries is not the fastest thing in the world due to that (and not due to the implementation itself).

Credits

Sprinter05, yagueto and dza205

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •