I just recently had my first son this year and being inside for covid, I had a lot of time to reflect on what kind of world I would want to build for my son. All the political rhetoric that has been happening over the past few years has caused many issues and halted progress of our country and even world events. I believe the first step is transparency and just giving some one the facts and what better place to start than with where companies are putting their money.
What it does
This website uses spring boot Model View Controller Framework to call upon an API to get organizations, a breakdown of those organization, legislators by states, and their top 10 donors. The website also has links to education or donate to causes if one is inspired.
How we built it
This website was built using Spring Initializer to set up the work space. All coding was done in eclipse IDE. jsp files are used to communicate with the controller. The controller makes the API calls and converts them into standard java objects than are then uses to display back on the jsp page using html.
Challenges we ran into
The first challenge was getting the json object to become a java object. The way this api is returning it's json objects was not able to process through a standard rest template require a custom rest template be made to handle the response correctly. Next, due to these json object not exactly being json objects, when a list of 1 came in, this would cause the standard object creation to fail again requiring adjustments to the object mapper.
Accomplishments that we're proud of
I am proud that I am able to turn in a working website with error being handled appropriately and that I was able to use 4 different api calls to get the data needed for my java objects.
What we learned
From a technical standpoint, I learned better master of extending classes and overriding functions for debugging purposes. I gained more clarification into the standard set up of spring boot. On the other hand, in coming up with an idea, I learned a lot on how to be a better ally. I thought that I was but realized I still have a lot of growing to do and I am excited for this journey.
What's next for Transparency PrideMaker 2021
Getting this up on AWS would be first then there is a lot more data in this api that can be used as well as creating easier connections to esports and gaming. Was also hoping to make a Self Validation exercise game and have it be a part of this site.