A simple expense tracking app to manage, analyze, and gain insights into your spending habits.
Penny Tracker is a web application that allows users to upload a CSV file containing transaction data and provides insights into their spending habits. The app generates charts and visualizations for monthly expenses, category-wise expenses, and other useful metrics.
Here are some screenshots of the app in action:
- Backend: .NET 9
- Frontend: Node.js
- CSV Parsing: CsvHelper (for parsing CSV files)
- Charting: recharts (for visualizing data)
ExpenseInsightsDashboard/
├── PennyTracker.Backend/ # Backend code (API)
│ ├── Controllers/ # API controllers
│ ├── Enums/ # Common Enums
│ ├── SampleData/ # Some sample CSV file containing transactions
│ ├── Models/ # Model classes (e.g., Transaction, ExpenseInsight)
│ ├── Services/ # Business logic (e.g., CSV processing, insight calculation)
│ └── appsettings.json # Configuration settings
│
├── PennyTracker.Frontend/ # Frontend code (React)
│ ├── public/ # Static assets (images, fonts, etc.)
│ ├── src/ # React components and views
│ │ ├── components/ # Reusable components (e.g., Chart, Table)
│ │ └── pages/ # Pages (e.g., Dashboard, File Upload)
│ └── package.json # Frontend dependencies
│
├── README.md # Project documentation
├── Screenshots # Project screenshotsEnsure you have the following installed on your system:
- Clone the repository:
git clone https://github.com/ddas09/penny-tracker.git- Restore the backend dependencies:
cd ExpenseInsightsDashboard/PennyTracker.Backend
dotnet restore- Run the backend application:
dotnet runThe backend API will run on http://localhost:5000.
- Navigate to the frontend folder:
cd ../PennyTracker.Frontend- Install frontend dependencies:
npm install- Run the frontend application:
npm run devThe frontend will run on http://localhost:3000.
- Run the Backend API: After following the backend setup instructions, the API should be running at
http://localhost:5000. - Run the Frontend: After setting up the frontend, you can access the app at
http://localhost:3000. - Upload CSV: The main page of the frontend will allow you to upload a CSV file and view the generated insights in graphical format.
- Upload a CSV file: The app will process the file and display insights.
- View Insights:
- Monthly Expenses: A chart will show your monthly spending.
- Category-wise Expenses: A chart will display how much you spend per category.
- Total Incomes/Expenses: The total income and expenses will be displayed on the dashboard.
- Fork the repository.
- Create a new branch:
git checkout -b feature/your-feature
- Make your changes.
- Commit your changes
git commit -a 'Add new feature' - Push to the branch
git push origin feature/your-feature
- Create a new Pull Request.
This project is open-source and licensed under the MIT License.