Files
nuzlocke-tracker/.beans/nuzlocke-tracker-8fcj--local-storage-persistence.md
2026-02-04 17:13:58 +01:00

966 B

title, status, type, priority, created_at, updated_at, parent, blocking
title status type priority created_at updated_at parent blocking
Frontend API Integration todo task normal 2026-02-04T15:44:42Z 2026-02-04T15:47:24Z nuzlocke-tracker-f5ob
nuzlocke-tracker-uw2j
nuzlocke-tracker-0q8f
nuzlocke-tracker-hm6t
nuzlocke-tracker-8tuw

Implement frontend services to communicate with the backend API.

Checklist

  • Create API client/service layer
  • Implement API calls for:
    • Fetch available games
    • Fetch routes for a game
    • Fetch Pokémon data
    • Create/update/delete Nuzlocke runs
    • Create/update encounters
    • Update Pokémon status
  • Add loading states and error handling
  • Implement optimistic updates where appropriate
  • Add retry logic for failed requests

Technical Notes

  • Use fetch or axios for HTTP requests
  • Consider using React Query/TanStack Query or SWR for caching
  • Type API responses with TypeScript