Implement Income Page
Implement the Income Page to allow users to track, categorise, and manage their earnings. This page will provide an overview of income trends, list income transactions, and allow users to add, edit, or delete income records.
Tasks:
-
Design and implement the frontend UI for the Income Page. -
Create API endpoints for fetching, adding, updating, and deleting income records. -
Implement a table listing all income transactions (date, source, amount, notes). -
Add filters to sort income by date range and source. -
Implement an income summary showing total income and income trends. -
Display a chart to visualise income sources over time. -
Allow users to mark recurring incomes (e.g., salary, dividends). -
Ensure authentication is required for all income-related actions.
Acceptance Criteria:
- Users can view a list of their income transactions with correct details.
- Users can add a new income record, specifying source, amount, date, and notes.
- Users can edit or delete existing income transactions.
- The income summary correctly displays total income for the selected period.
- The income trends chart accurately reflects income distribution.
- Filtering and sorting work correctly (by date, source, amount).
- Recurring income transactions are saved and displayed properly.
- API requests require authentication and return appropriate errors if unauthorised.