{"id":22915335,"url":"https://github.com/lehcode/expenses-tracker-angular","last_synced_at":"2025-08-13T22:03:22.630Z","repository":{"id":266797703,"uuid":"898220423","full_name":"lehcode/expenses-tracker-angular","owner":"lehcode","description":null,"archived":false,"fork":false,"pushed_at":"2024-12-06T19:34:49.000Z","size":628,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-13T22:02:09.903Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/lehcode.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-12-04T02:16:00.000Z","updated_at":"2024-12-06T19:34:53.000Z","dependencies_parsed_at":null,"dependency_job_id":"3faa6189-a1ad-4786-b9d3-ffb326d55ec6","html_url":"https://github.com/lehcode/expenses-tracker-angular","commit_stats":null,"previous_names":["lehcode/expenses-tracker-angular"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/lehcode/expenses-tracker-angular","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lehcode%2Fexpenses-tracker-angular","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lehcode%2Fexpenses-tracker-angular/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lehcode%2Fexpenses-tracker-angular/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lehcode%2Fexpenses-tracker-angular/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lehcode","download_url":"https://codeload.github.com/lehcode/expenses-tracker-angular/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lehcode%2Fexpenses-tracker-angular/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270323579,"owners_count":24564684,"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","status":"online","status_checked_at":"2025-08-13T02:00:09.904Z","response_time":66,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-12-14T05:20:07.765Z","updated_at":"2025-08-13T22:03:22.553Z","avatar_url":"https://github.com/lehcode.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Expense Tracker\n\nA modern, responsive web application for tracking personal finances built with Angular and Cloudflare Pages.\n\n## Features\n\n- 💰 Track both income and expenses\n- 📊 View financial summaries and balance calculations\n- 🏷️ Categorize transactions\n- 🔍 Advanced filtering and sorting capabilities\n- 📱 Responsive design for all devices\n- ⚡ Fast and reliable with Cloudflare KV storage\n\n## Tech Stack\n\n- **Frontend Framework**: Angular 19\n- **State Management**: NgRx\n- **Styling**: Tailwind CSS + Angular Material\n- **Data Storage**: Cloudflare KV\n- **Deployment**: Cloudflare Pages\n- **Package Manager**: Yarn\n\n## Prerequisites\n\n- Node.js \u003e= 20.15.1\n- Yarn \u003e= 1.22.22\n- Wrangler CLI (for Cloudflare development)\n\n## Getting Started\n\n1. Clone the repository:\n\n```bash\ngit clone https://github.com/yourusername/expense-tracker.git\ncd expense-tracker\n```\n\n1. Install dependencies:\n\n```bash\nyarn install\n```\n\n1. Set up local development environment:\n\n```bash\n# Start the development server\nyarn start\n\n# Start Cloudflare Pages development server\nyarn start-wrangler\n```\n\nThe application will be available at `http://localhost:4200`\n\n## Environment Setup\n\nCreate environment files in `src/environments/`:\n\n```typescript\n// environment.ts\nexport const environment = {\n  production: false,\n  apiUrl: 'http://localhost:8788/api'\n};\n\n// environment.prod.ts\nexport const environment = {\n  production: true,\n  apiUrl: '/api'\n};\n```\n\n## Project Structure\n\n```shell\nsrc/\n├── app/\n│   ├── components/       # Reusable UI components\n│   ├── interfaces/       # TypeScript interfaces\n│   ├── pages/           # Route components\n│   ├── services/        # Business logic and API calls\n│   ├── store/           # NgRx state management\n│   │   ├── actions/\n│   │   ├── effects/\n│   │   ├── reducers/\n│   │   └── selectors/\n│   └── utils/           # Helper functions\n├── assets/              # Static files\n├── environments/        # Environment configurations\n└── styles/             # Global styles\n```\n\n## Available Scripts\n\n- `yarn start` - Start development server\n- `yarn build` - Build production bundle\n- `yarn test` - Run unit tests\n- `yarn lint` - Run linting\n- `yarn start-wrangler` - Start Cloudflare Pages development server\n- `yarn deploy` - Deploy to Cloudflare Pages\n\n## Features in Detail\n\n### Transaction Management\n\n- Add, edit, and delete transactions\n- Categorize transactions as income or expense\n- Add notes and dates to transactions\n- Automatic balance calculations\n\n### Categories\n\n- Predefined expense and income categories\n- Custom category creation\n- Color coding for visual organization\n\n### Filtering and Sorting\n\n- Filter by date range\n- Filter by category\n- Filter by transaction type\n- Sort by amount or date\n- Search transactions by name or notes\n\n### Data Visualization\n\n- Total balance display\n- Income vs expenses breakdown\n- Category-wise expense distribution\n- Monthly trends\n\n## Cloudflare KV Storage\n\nThe application uses Cloudflare KV for data persistence. The storage structure is:\n\n```shell\nKV_NAMESPACE\n├── expenses/           # Transaction records\n│   └── {id}           # Individual transaction\n├── categories/        # Category definitions\n└── user_preferences/ # User settings\n```\n\n## Contributing\n\n1. Fork the repository\n2. Create your feature branch (`git checkout -b feature/amazing-feature`)\n3. Commit your changes (`git commit -m 'Add amazing feature'`)\n4. Push to the branch (`git push origin feature/amazing-feature`)\n5. Open a Pull Request\n\n## Testing\n\nThe project includes both unit and integration tests:\n\n```bash\n# Run all tests\nyarn test\n\n# Run tests with coverage report\nyarn test --code-coverage\n\n# Run tests in watch mode\nyarn test --watch\n```\n\n## Deployment\n\nThe application is configured for deployment to Cloudflare Pages:\n\n1. Build the application:\n\n```bash\nyarn build-cf\n```\n\n2. Deploy to Cloudflare Pages:\n\n```bash\nyarn deploy\n```\n\n## License\n\nThis project is licensed under the MIT License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flehcode%2Fexpenses-tracker-angular","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flehcode%2Fexpenses-tracker-angular","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flehcode%2Fexpenses-tracker-angular/lists"}