This project is a React and Flask-based application that uses Firebase for user authentication. The dashboard is designed to predict retirement income and provide help to users. The project was developed for TIAA's T3 Hack Retirement Industry Hackathon.
To get started with the project, you need to have Node.js and npm installed on your machine. If you don't have them installed, you can download them from here.
- Clone the repository to your local machine.
- Navigate to the project directory.
- Install the necessary dependencies using the command
npm install
.
To run the application locally:
- Start the Flask server by navigating to the backend directory and running the command
python app.py
. - In a separate terminal window, navigate to the frontend directory and start the React application using the command
npm start
.
The API is deployed https://tiaa-surplus-api.onrender.com
The project is structured into two main directories: backend
and frontend
.
- The
python_api
directory contains the Flask application, including the API for user authentication and data prediction. - The
dashboard
directory contains the React application, which interacts with the Flask API to display user data and predictions.