How manish3-4/expense_tracker-angular- works
Expense Tracker is an Angular personal-finance client. Users sign up or log in, then manage expenses and categories through backend API calls; the dashboard lists expenses, summarizes totals, and presents charts. CSV import and profile management are additional documented capabilities. The graph follows only relationships visible in sampled source or stated in the README; import and some broader service interactions are documented but not fully sampled, so uncertain wiring is left out.
Main entry points: auth.service.ts Auth service · header.component.ts Expense workspace · view-expenses.component.ts Expense list · business-data.service.ts Business data service
Components 19
Authentication
- Welcome screen
src/app/component/welcome/welcome.component.ts - Login
src/app/component/welcome/login/login.component.ts - Sign up
src/app/component/welcome/signup/signup.component.ts - Auth service
src/app/auth/auth.service.ts - Route guard
src/app/auth/auth.guard.ts
Expense management
- Expense workspace
src/app/component/header/header.component.ts - Add or edit expense
src/app/component/header/add-expense/add-expense.component.ts - Category management
src/app/component/header/add-category/add-category.component.ts - CSV import
src/app/component/header/import/import.component.ts - Business data service
src/app/services/business-data.service.ts
Analytics
- Expense dashboard
src/app/component/home/home.component.ts - Expense list
src/app/component/home/view-expenses/view-expenses.component.ts - Expense detail
src/app/component/home/view-single/view-single.component.ts - Charts
src/app/component/home/show-chart/show-chart.component.ts
Application shell
- Profile management
src/app/shared/profile/profile.component.ts - Account actions
src/app/shared/alert-box/alert-box.component.ts - Angular application
src/app/app.component.ts
Other components
- User
- Backend API
Connections 21
- User → Welcome screen: opens
README.md - User → Login: authenticates
README.md - User → Sign up: registers
README.md - Login → Auth service: uses
- Sign up → Auth service: uses
- Auth service → Backend API: sends auth requests
src/app/auth/auth.service.ts - Auth service → Route guard: provides auth state
src/app/auth/auth.guard.ts - User → Expense workspace: manages spending
README.md - Expense workspace → Add or edit expense: opens expense form
- Expense workspace → Category management: manages categories
- Expense workspace → CSV import: imports expenses
- Add or edit expense → Business data service: requests expense data
src/app/component/header/add-expense/add-expense.component.ts - Business data service → Backend API: calls expense APIs
README.md - User → Expense dashboard: reviews spending
README.md - Expense dashboard → Expense list: presents expenses
- Expense list → Business data service: loads expenses
src/app/component/home/view-expenses/view-expenses.component.ts - Expense list → Expense detail: opens detail
src/app/component/home/view-expenses/view-expenses.component.ts - Expense list → Charts: opens charts
src/app/component/home/view-expenses/view-expenses.component.ts - User → Profile management: updates profile
README.md - Profile management → Account actions: opens account actions
src/app/shared/profile/profile.component.ts - Angular application → Auth service: restores session
src/app/app.component.ts