All challenges
Full stack·Medium
Notes app can't save, loses titles and lies about pins
An Express and React notes app breaks the API contract, wipes fields on pin, sorts at random and keeps failed pins on screen.
NOTES-231Notes app regressions after the API refactor
Reported by QA:
- Saving a new note always fails with "Could not save the note."
- After pinning a note and refreshing the page, its title and text are gone.
- The list is supposed to show the most recently updated notes first, but it doesn't.
- With the API down, pinning a note shows an error, yet the note still appears under Pinned until the page is reloaded.
The API contract is in README.md, and the tests in tests/ describe the expected behaviour on both sides. Fix the app so that all of them pass.
More challenges
orders-api-pagination
orders.js
db.js
orders.test.js
$ npm test
✓ 7 passing
✗ 3 failing
SHOP-417
Backend
Orders API returns the wrong page
Medium· Backend
45 min
todo-filters-react
TodoList.jsx
useShortcuts.js
todo.test.jsx
$ npm test
✓ 5 passing
✗ 3 failing
TODO-88
Frontend
Todo list edits jump rows and the shortcut wipes the list
Easy· Frontend
30 min