How brunar/tanstack-br works
This TanStack Start application presents itself as a platform for discovering and sharing developer skills, with routes for skill browsing, skill details, user skills, favorites, and dashboard settings. The visible home-page workflow loads Pokémon data through a server function and renders entries as interactive likeable cards; the favorite page submits a name to a server function that currently simulates saving. The route tree and several page implementations are shown, but most routes are placeholders. No persistent database implementation is evident in the sampled source.
Main entry points: routeTree.gen.ts Route tree · index.tsx Skill listing · pokemon.ts Pokémon server functions · favorite.tsx Favorite form
Components 18
App routing
- Router setup
src/router.tsx - Route tree
src/routeTree.gen.ts - Root document
src/routes/__root.tsx - About page
src/routes/about.tsx - Contact page
src/routes/contact.tsx - Dashboard layout
src/routes/dashboard/route.tsx - Dashboard home
src/routes/dashboard/index.tsx - Dashboard skills
src/routes/dashboard/skills.tsx - Dashboard settings
src/routes/dashboard/settings.tsx
Skill experience
- Skill listing
src/routes/index.tsx - Skill card
src/components/SkillCard.tsx - Skills index
src/routes/skills/index.tsx - Skill detail
src/routes/skills/$skillId.tsx - User skill detail
src/routes/users/$username/skills/$skillId.tsx
Pokémon demo
- Pokémon server functions
src/server/pokemon.ts - Favorite form
src/routes/favorite.tsx
Other components
- Visitor
- PokéAPI
Connections 19
- Router setup → Route tree: configures
src/router.tsx - Route tree → Root document: registers
src/routeTree.gen.ts - Route tree → About page: registers
src/routeTree.gen.ts - Route tree → Contact page: registers
src/routeTree.gen.ts - Route tree → Dashboard layout: registers
src/routeTree.gen.ts - Route tree → Dashboard home: registers
src/routeTree.gen.ts - Route tree → Dashboard skills: registers
src/routeTree.gen.ts - Route tree → Dashboard settings: registers
src/routeTree.gen.ts - Route tree → Skill listing: registers
src/routeTree.gen.ts - Route tree → Skills index: registers
src/routeTree.gen.ts - Route tree → Skill detail: registers
src/routeTree.gen.ts - Route tree → User skill detail: registers
src/routeTree.gen.ts - Route tree → Favorite form: registers
src/routeTree.gen.ts - Visitor → Skill listing: opens
src/routes/index.tsx - Skill listing → Pokémon server functions: loads data
src/routes/index.tsx - Pokémon server functions → PokéAPI: fetches
src/server/pokemon.ts - Skill listing → Skill card: renders
src/routes/index.tsx - Visitor → Favorite form: submits favorite
src/routes/favorite.tsx - Favorite form → Pokémon server functions: invokes save
src/routes/favorite.tsx