FiBase

Hackathon Project at Auburn Hacks 2019

Inspiration

Josh wanted to learn how to write different finance functions in python. Louis wanted to practice building websites and web development in general.

What it Does

We built a website to serve as a user interface for various financial calculations. Users input cash flow information and the form data is posted to a Flask API that computes NPV based on those cash flows and a specific discount rate.

That result is returned to the page and displayed with a message that indicates whether or not the project in question should or shouldn't be continued based on the NPV.

How We Built It

We used Flask for the API, HTML, CSS, JS for the Front End. Python for the finance logic.

Josh came up with the idea for the functionality and wrote the python to handle the finance functions. He also wrote the content about what the calculations mean and what feedback to provide.

Louis wrote and designed the front-end and built the Flask API back-end.

Challenges

The API was very difficult to implement because neither of us knew how to do that. The workflow of form data -> javascript -> api -> javascript -> displaying results on the page was the most difficult part of the entire project.

The finance functions were also difficult to verify (hence the need to create a calculator in the first place), so testing our sample data was hard.

Accomplishments

The user interface is intuitive, the website is responsive, the api communicates, and in general it does what we set out for it to do.

What We Learned

Additional proficiency with html, css, bootstrap, and python. Gained first real experience with js, jQuery, flask.

What is next?

If we plan to move forward with this project after today, we would being with deploying the API to a server and hosting the front end. We would also work on adding support for additional calculations.

Share this project:

Updates