Finance Tracker is a Ruby on Rails web application that helps users track and manage their income and expenses. It provides insightful analytics into financial habits, enabling users to categorize transactions and generate detailed expense reports. Whether you're looking to gain better control over your personal finances or manage a small business's accounts, Finance Tracker offers the tools you need to stay organized and informed.
- Income & Expense Tracking: Easily add, edit, and delete income and expense entries.
- Categorization: Organize transactions into customizable categories.
- Expense Reports: Generate detailed reports and visual charts to analyze spending habits.
- Backend: Ruby on Rails
- Frontend: HTML5, CSS3, JavaScript, Bootstrap
- Database: SQLite, PostgreSQL
- Testing: Minitest
- Deployment: Heroku
Follow these steps to set up the project locally:
-
Clone the repository:
git clone https://github.com/yourusername/finance-tracker.git
-
Navigate into the directory:
cd finance-tracker
-
Install dependencies:
bundle install
-
Set up the database:
rails db:create rails db:migrate rails db:seed
-
Start the server:
rails server
-
Open your browser and go to:
http://localhost:3000
-
Add Categories:
- Navigate to the "Categories" section to add categories for your future transactions.
-
Add Transactions:
- Navigate to the "Transactions" section to add your income and expenses.
- Specify the amount, category, type and date for each transaction.
-
View Reports:
- Access the "Reports" section to view charts and summaries of your financial activities.
- It is possible to generate reports both by categories and by dates for selected period of time.
-
Ensure dependencies are installed:
If you haven't already installed the gems, do so by running:
bundle install
-
Run all tests:
You can run the entire test suite with:
rails test
-
Run specific tests:
To run tests for a specific file:
rails test test/models/example_model_test.rb
-
Running tests with detailed output:
If you want more detailed test output, you can run:
rails test -v
Ivan Sharov
Email: [email protected]
LinkedIn: Ivan Sharov