{"id":19108323,"url":"https://github.com/rollingghost/expense-tracker","last_synced_at":"2025-02-22T10:41:52.202Z","repository":{"id":255454140,"uuid":"852349761","full_name":"rollingghost/expense-tracker","owner":"rollingghost","description":"A simple expense tracker application to manage your finances.","archived":false,"fork":false,"pushed_at":"2024-09-09T15:19:06.000Z","size":71,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-03T03:23:49.702Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rollingghost.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-09-04T16:49:59.000Z","updated_at":"2024-09-07T19:34:37.000Z","dependencies_parsed_at":"2024-09-05T13:47:36.170Z","dependency_job_id":"960a81b7-4f1b-4989-ba28-e9ddeada0d12","html_url":"https://github.com/rollingghost/expense-tracker","commit_stats":null,"previous_names":["rollingghost/expense-tracker"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rollingghost%2Fexpense-tracker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rollingghost%2Fexpense-tracker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rollingghost%2Fexpense-tracker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rollingghost%2Fexpense-tracker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rollingghost","download_url":"https://codeload.github.com/rollingghost/expense-tracker/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240163494,"owners_count":19758023,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-09T04:15:48.813Z","updated_at":"2025-02-22T10:41:52.182Z","avatar_url":"https://github.com/rollingghost.png","language":"Rust","readme":"# Expense Tracker\n\nBuild a simple expense tracker application to manage your finances. The application allows users to add, delete, and view their expenses, and provides a summary of the expenses.\n\n## Project URL\n\n[Expense Tracker Project](https://roadmap.sh/projects/expense-tracker)\n\n## Features\n\n- **Add Expense**: Users can add an expense with a description and amount.\n- **Update Expense**: Users can update an existing expense.\n- **Delete Expense**: Users can delete an expense.\n- **View Expenses**: Users can view all expenses.\n- **Summary**: Users can view a summary of all expenses.\n- **Monthly Summary**: Users can view a summary of expenses for a specific month (of the current year).\n\n## Additional Features\n\n- **Expense Categories**: Add expense categories and allow users to filter expenses by category.\n- **Monthly Budget**: Allow users to set a budget for each month and show a warning when the user exceeds the budget.\n- **Export to CSV**: Allow users to export expenses to a CSV file.\n\n## Commands and Expected Output\n\n```sh\n$ expense-tracker add --description \"Lunch\" --amount 20\n# Expense added successfully (ID: 1)\n\n$ expense-tracker add --description \"Dinner\" --amount 10\n# Expense added successfully (ID: 2)\n\n$ expense-tracker list\n# ID  Date       Description  Amount\n# 1   2024-08-06  Lunch        $20\n# 2   2024-08-06  Dinner       $10\n\n$ expense-tracker summary\n# Total expenses: $30\n\n$ expense-tracker delete --id 1\n# Expense deleted successfully\n\n$ expense-tracker summary\n# Total expenses: $20\n\n$ expense-tracker summary --month 8\n# Total expenses for August: $20\n```\n\n## Implementation\n\nYou can implement the application using any programming language of your choice. Here are some suggestions:\n\n- Use any programming language with a module for parsing command arguments (e.g., Python with `argparse`, Node.js with `commander`, etc.).\n- Use a simple text file to store the expenses data. You can use JSON, CSV, or any other format to store the data.\n- Add error handling to handle invalid inputs and edge cases (e.g., negative amounts, non-existent expense IDs, etc.).\n- Use functions to modularize the code and make it easier to test and maintain.\n\nThis project is a great way to practice your logic-building skills and learn how to interact with the filesystem using a CLI application. It will also help you understand how to manage data and provide useful information to users in a structured way. Good luck!  :smile:\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frollingghost%2Fexpense-tracker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frollingghost%2Fexpense-tracker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frollingghost%2Fexpense-tracker/lists"}