Connect every backend feature area, not just auth + library
Adds Upload (direct file tag), Discovery (listen/history/swipe), Rooms (list/create + a live WebSocket room view with chat, fire reactions, and DJ-handoff requests), Channels (list/create/follow, user_id filled in client-side via jwt.ts since /channels takes it in the body rather than deriving it from the token like every other router), and Remix (multi-file upload + prompt, polls job status with a stage progress bar until done). jwt.ts decodes (never verifies - that's the server's job) the access token's `sub` claim locally, since /channels needs a real user id and nothing in the login response returns one directly. Typechecks clean, production build succeeds. Co-Authored-By:Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019i3NAUkLkHNbsPg5vKfzF9
Showing
src/api/channels.ts
0 → 100644
src/api/discovery.ts
0 → 100644
src/api/jwt.ts
0 → 100644
src/api/music.ts
0 → 100644
src/api/remix.ts
0 → 100644
src/api/roomSocket.ts
0 → 100644
src/api/social.ts
0 → 100644
src/components/RoomView.tsx
0 → 100644
src/pages/Channels.tsx
0 → 100644
src/pages/Discovery.tsx
0 → 100644
src/pages/Remix.tsx
0 → 100644
src/pages/Rooms.tsx
0 → 100644
src/pages/Upload.tsx
0 → 100644
Please
register
or
sign in
to comment