File size: 648 Bytes
8830fa5
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
# Implement the missing route

The React + Flask app at `/app/` is missing the `/add-expense/:groupId` route. A screenshot of the desired page is at **`/app/reference.png`**.

Implement `/app/frontend/src/components/AddExpense.jsx` and add the matching `<Route>` in `/app/frontend/src/App.jsx` so the page renders to match the reference.

The frontend already has helpers `getGroupDetail(id)` and `createExpense(groupId, description, amount, paidById, splitAmongIds)` exported from `/app/frontend/src/api.js`. On submit, navigate back to `/groups/<groupId>`.

Dependencies are pre-installed. Do not start any servers — the verifier handles that.