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