|
Download screenshot2-add-expense-sparse/instruction.md from ApolloTeam/fullstackbench-tasks: direct link, hf CLI and curl.
- Browser
- Download file 648 Bytes
-
https://huggingface.co/datasets/ApolloTeam/fullstackbench-tasks/resolve/main/screenshot2-add-expense-sparse/instruction.md
- Command line
-
hf download hf://datasets/ApolloTeam/fullstackbench-tasks/screenshot2-add-expense-sparse/instruction.md
-
curl -L -o instruction.md https://huggingface.co/datasets/ApolloTeam/fullstackbench-tasks/resolve/main/screenshot2-add-expense-sparse/instruction.md
648 Bytes
| # 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. | |