{"id":20909701,"url":"https://github.com/chayaroten/expensemanager","last_synced_at":"2026-05-26T14:02:47.983Z","repository":{"id":237698842,"uuid":"781501895","full_name":"chayaRoten/ExpenseManager","owner":"chayaRoten","description":"Backend for expense management using FastAPI and Python. Includes user management, expense tracking, and data visualization.","archived":false,"fork":false,"pushed_at":"2024-08-20T09:12:46.000Z","size":1018,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-28T01:51:03.317Z","etag":null,"topics":["fastapi","python"],"latest_commit_sha":null,"homepage":"","language":"Python","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/chayaRoten.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-04-03T14:00:47.000Z","updated_at":"2024-11-05T20:22:56.000Z","dependencies_parsed_at":"2024-05-03T01:33:25.342Z","dependency_job_id":"0970b643-7837-4729-bb0a-d4d94e750bb1","html_url":"https://github.com/chayaRoten/ExpenseManager","commit_stats":null,"previous_names":["chayaroten/pythonproject","chayaroten/expensemanager"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/chayaRoten/ExpenseManager","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chayaRoten%2FExpenseManager","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chayaRoten%2FExpenseManager/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chayaRoten%2FExpenseManager/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chayaRoten%2FExpenseManager/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chayaRoten","download_url":"https://codeload.github.com/chayaRoten/ExpenseManager/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chayaRoten%2FExpenseManager/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33523669,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T03:12:49.672Z","status":"ssl_error","status_checked_at":"2026-05-26T03:12:47.976Z","response_time":63,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["fastapi","python"],"created_at":"2024-11-18T14:12:22.192Z","updated_at":"2026-05-26T14:02:47.940Z","avatar_url":"https://github.com/chayaRoten.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Expense Manager Backend\r\n\r\nThis project provides a backend infrastructure for managing expenses and income, developed using Python and FastAPI. The application supports user authentication, expense tracking, and data visualization.\r\n\r\n## Project Overview\r\n\r\n- **Database:** MongoDB for data storage.\r\n- **Server-side:** Developed using Python and FastAPI.\r\n- **Visualization:** Data can be visualized using Matplotlib.\r\n\r\n## Application Features\r\n\r\n- **User Routes:** Handles user registration, login, and profile updates.\r\n- **Expense and Income Routes:** Supports creation, update, deletion, and retrieval of expense and income data.\r\n- **Visualization Route:** Extracts data for visualization with Matplotlib.\r\n\r\n## Quality Assurance\r\n\r\nComprehensive tests are included to ensure the system's performance and reliability. Logs and documentation are maintained for transparency and future scalability.\r\n\r\n## Installation\r\n\r\nTo get started, clone this repository and install the required packages:\r\n\r\n```bash\r\npip install fastapi[all] pymongo matplotlib\r\n```\r\n\r\n## Running the Server\r\n\r\nRun the FastAPI server with the following command:\r\n\r\n```bash\r\nuvicorn main:app --reload\r\n```\r\n\r\nAccess the server at [http://127.0.0.1:8000](http://127.0.0.1:8000). For API documentation, visit [http://127.0.0.1:8000/docs](http://127.0.0.1:8000/docs).\r\n\r\n## Available Routes\r\n\r\n### User Routes\r\n\r\n#### Login\r\n\r\n```http\r\nPOST /user/login\r\n```\r\n\r\nResponse: User Object\r\n\r\n| Parameter   | Description                              |\r\n|-------------|------------------------------------------|\r\n| `id`        | User ID entered at login                 |\r\n| `username`  | Username entered at login                |\r\n| `password`  | Password entered at login                |\r\n\r\n#### Sign Up - Create User\r\n\r\n```http\r\nPOST /user/signUp\r\n```\r\n\r\nResponse: User Object\r\n\r\n| Parameter   | Description                              |\r\n|-------------|------------------------------------------|\r\n| `user`      | Full user object with all parameters     |\r\n\r\n#### Update User\r\n\r\n```http\r\nPUT /user\r\n```\r\n\r\nResponse: User Object\r\n\r\n| Parameter   | Description                              |\r\n|-------------|------------------------------------------|\r\n| `user`      | Full user object with all parameters     |\r\n\r\n### Budget Management Routes\r\n\r\n#### Get Budget Management\r\n\r\n```http\r\nGET /budget?userId={user_id}\r\n```\r\n\r\nResponse: Budget Management Object\r\n\r\n| Parameter   | Description                              |\r\n|-------------|------------------------------------------|\r\n| `user_id`   | ID of the user for budget management     |\r\n\r\n#### Create Budget Management\r\n\r\n```http\r\nPOST /budget\r\n```\r\n\r\nResponse: Budget Management Object\r\n\r\n| Parameter   | Description                              |\r\n|-------------|------------------------------------------|\r\n| `revenues`  | Amount of revenue                        |\r\n| `expenses`  | Amount of expenses                       |\r\n| `userId`    | ID of the user                           |\r\n\r\n#### Update Budget Management\r\n\r\n```http\r\nPUT /budget\r\n```\r\n\r\nResponse: Updated Budget Management Object\r\n\r\n| Parameter   | Description                              |\r\n|-------------|------------------------------------------|\r\n| `budget`    | Full Budget Management object            |\r\n\r\n#### Delete Budget Management\r\n\r\n```http\r\nDELETE /budget\r\n```\r\n\r\nResponse: Deleted Budget Management Object\r\n\r\n| Parameter   | Description                              |\r\n|-------------|------------------------------------------|\r\n| `id`        | ID of the budget to delete               |\r\n\r\n\r\n### Project Tree\r\n\r\n```\r\n├── app\r\n│   ├── models\r\n│   │   ├── budget_management.py\r\n│   │   └── user.py\r\n│   ├── routes\r\n│   │   ├── budget_management_router.py\r\n│   │   ├── user_router.py\r\n│   │   └── visualization_router.py\r\n│   ├── services\r\n│   │   ├── budget_management_CRUD.py\r\n│   │   ├── db.py\r\n│   │   ├── user_CRUD.py\r\n│   │   └── visualization.py\r\n│   ├── log.py\r\n│   └── main.py\r\n├── requirements.txt\r\n├── tests\r\n│   ├── budget_management_test.py\r\n│   └── users_test.py\r\n└── README.md\r\n```\r\n\r\n\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchayaroten%2Fexpensemanager","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchayaroten%2Fexpensemanager","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchayaroten%2Fexpensemanager/lists"}