Inspiration

We took inspiration from current dealership solutions and similar analytical tools. We took inspiration from stock exchange apps in how they display and compare data.

What it does

MPG-Exchange is a web based application that reads data from EPA API, returning MPG of Toyota models from the years 2021 to 2025. The application allows the user to search for specific models or by years or even ranges of years.

How we built it

We used IntelliJ Idea to develop both the front and back end code. We wrote the code in java using reactJS, nodeJS, springboot and Jackson library to implement the EPA API and interpret JSON output returned by the API. We also used the terminal on MacOS to run the user interface during testing. We also used CORS.

Challenges we ran into

We ran into issues with the API returning MPG data for models, the EPA API is supposed to return MPG values for combined mpg, highway mpg, and city mpg however we had issues interpreting the JSON data returned. We also ran into issues when both years and the model name were entered in which the program was unable to find matching data to the models.

Accomplishments that we're proud of

We are proud of our use of the EPA API, object-oriented coding, aggregation, development of UI, creating a successful program using springboot, reactJS, nodeJS, and the jackson library.

What we learned

We learned how to implement API's to retrieve data. We learned how to use spring boot, reactJS, nodeJS and the jackson library to develop programs and interpret JSON data. We also learned how to develop a user interface.

What's next for MPG-Exchange

We hope to add features that allow the user to view the information in a more appealing way such as adding graphs and charts that allow the user to compare the mgp data for different models and years. We also hope to add caching to allow for quicker responses and ease of access to data.

Built With

Share this project:

Updates