You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CLAUDE.md
+1-100Lines changed: 1 addition & 100 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,10 +2,6 @@
2
2
3
3
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
4
4
5
-
## Project Overview
6
-
7
-
Talo is a self-hostable game dev dashboard. This is the frontend React application that provides a web interface for managing players, leaderboards, events, stats, game saves, and other game backend features. The frontend communicates with the Talo backend API.
8
-
9
5
## Development Commands
10
6
11
7
### Running the application
@@ -31,29 +27,6 @@ npm run cypress:open # Open Cypress (dev server must be running)
31
27
npm run lint # Run Oxlint on src/**/*.{js,jsx,ts,tsx}
32
28
```
33
29
34
-
### Testing Notes
35
-
36
-
- Unit tests use Vitest with jsdom environment
37
-
- Test files are co-located with source in `__tests__/` directories
38
-
- E2E tests are in `cypress/e2e/pages/` and use Cypress
39
-
- Coverage excludes `src/api/`, `src/entities/`, `src/constants/`, and `src/utils/canViewPage.ts`
40
-
- Tests must run with `TZ=UTC` for consistent date handling
41
-
42
-
## Architecture Overview
43
-
44
-
### Tech Stack
45
-
46
-
- React 18 with TypeScript
47
-
- Vite for build tooling
48
-
- React Router v6 for routing
49
-
- Recoil for global state management
50
-
- Axios for HTTP requests
51
-
- SWR for data fetching and caching
52
-
- Zod for runtime validation
53
-
- Tailwind CSS v4 for styling
54
-
- Recharts for charts
55
-
- React Hook Form for forms
56
-
57
30
### Directory Structure
58
31
59
32
```
@@ -102,14 +75,7 @@ src/
102
75
-`devDataState` - Dev data inclusion flag
103
76
- State consumed via `useRecoilValue()`, `useRecoilState()`, `useSetRecoilState()`
104
77
105
-
### API Layer
106
-
107
-
- Base Axios instance configured in [src/api/api.ts](src/api/api.ts)
108
-
- Request interceptor adds Bearer token and dev data header
109
-
- Response interceptor handles 401s with automatic token refresh
110
-
- Base URL from `VITE_API_URL` environment variable
0 commit comments