Initial setup of frontend and backend
This commit is contained in:
35
.beans/nuzlocke-tracker-8fcj--local-storage-persistence.md
Normal file
35
.beans/nuzlocke-tracker-8fcj--local-storage-persistence.md
Normal file
@@ -0,0 +1,35 @@
|
||||
---
|
||||
# nuzlocke-tracker-8fcj
|
||||
title: Frontend API Integration
|
||||
status: todo
|
||||
type: task
|
||||
priority: normal
|
||||
created_at: 2026-02-04T15:44:42Z
|
||||
updated_at: 2026-02-04T15:47:24Z
|
||||
parent: nuzlocke-tracker-f5ob
|
||||
blocking:
|
||||
- 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
|
||||
Reference in New Issue
Block a user