What it does
This program plans a trip for you with the given prompts from point "x" to point "y", making sure it generates the less pollution possible, hence the name nullCO2.
How we built it
We built this program with a combination of a node.js backend for HTTPs requests to different APIs relevent to the app's purpose and a flask frontend with a Path Finding Algorithm using json-graph-algorithms.
Challenges we ran into
- Slow APIs not designed for casual use that take too long to fetch and are at times down, making the entire developing process slower, which is not desired in a Hackathon.
- Integrating the GET HTTPs requests across Javascript and Python was also a challenge, variable types are pretty different, which does not make implementation very easy.
- Finding a language for the algorithm that would work well, which ended up being Javascript after we realised Functional Programming Languages were not relaly viable for this. # Accomplishments that we're proud of
- Seeing the HTTPs server work across both languages, even if fetching responses was a bit hard at times.
- Improving the API's error handling system over the course of these two days, because at the beggining it was pretty bad.
- Finishing the algorithm (it took a lot of time for sure), even if we couldn't fully implement it. # What we learned
- Working as a team together to implement both backend and frontend functions at the same time.
- API's that are not well documented can be a huge pain to work with, specially if the packages they use are barely ever updated, just like the documentation. # Built With Javascript, HTML and Python By: Sprinter05, yagueto and dza205
Log in or sign up for Devpost to join the conversation.