vinson-han / expense-tracker

0 stars 1 forks source link

Finalize Adding Expense Component #29

Closed santi-jose closed 3 months ago

santi-jose commented 3 months ago

Task Owner (Responsible): [Jose, S]

Task Assignee (Accountable): [Jose, S]

Task Deadline: [5/20/2024]

Task Description: Finalize the adding expenses component. Render data on dashboard (dummy data if backend isn't ready yet.)

Acceptance Criteria: The add expense component must take the expense form input from the user and trigger the POST request for the backend to handle on submit. Then the data stored in the database must be rendered on the webpage by triggering a GET request to the backend. If the backend isn't set up yet, I will bypass the backend POST and GET requests and render the input data from the expense form to the webpage.

Estimation: The render of data directly from the expense form to the webpage should take around 1-2 days. If the database is functional and can handle GET and POST requests, I estimate implementing the expense component to take 3-4 days.

Dependencies: The finalization of this task is dependent on the GET and POST request handling on the backend.

Priority: Moderate

Task Type: Development

Subtasks:

  1. Print add expenses form input to console.
  2. Render add expenses form input to webpage.
  3. Style expenses rendered to webpage for legibility

Testing Requirements: We should be able to submit the add expenses form and view the expense rendered on the webpage.

Documentation: Add comments to describe how the component works. Add to the README describing what the new code does.

Definition of Done: For this task to be done, the user should be able to input a new expense and add it to their list of expenses and rendered to the webpage. …