This repository showcases how to use Streamlit for gathering and analyzing personal expenses. It utilizes SQLite, a user-friendly database system, ideal for small-scale data management.
To run the Personal Expenses App locally, follow these steps:
-
Clone the repository to your local machine:
git clone https://github.com/sravz3/expenses.git cd expenses
-
Initialise virtual environment and install streamlit module (follow steps on https://github.com/streamlit/streamlit/wiki/Installing-in-a-virtual-environment)
-
Run the Streamlit app from the command line:
streamlit run main.py
-
Your default web browser will open, and you'll see the Personal Expenses App App interface.
-
View the list of available expenses categories. Add new categories if needed.
-
To record an expense, input date, select category and amount of expense incurred.
-
Click the "Submit Expense" button to save your expense record.
-
You can also import all your expense in csv format by clicking on "Download Data as CSV" button.