How paulsparks/thrift-walk works
Thrift Walk combines a web thrift-store experience with a Godot game. The web workflow supports account creation or sign-in, then store browsing, item uploads, profiles, and wishlists; the repository tree identifies these stages, but their data-fetching links were not sampled. The game has separate player and interaction scripts. The graph includes the documented web authentication path and the sampled database configuration; other links are omitted where source evidence is insufficient.
Main entry points: (auth) Auth pages · auth.ts Auth service · sign-in-form.tsx Sign-in form · sign-up-form.tsx Sign-up form
Components 24
Storefront
- Store pages
web/src/app/(site) - Store browser
web/src/components/store-browser.tsx - Scan upload
web/src/app/(site)/my-store/upload/page.tsx - Scan dropzone
web/src/components/scan-dropzone.tsx - Profile
web/src/app/(site)/profile/page.tsx - Wishlist
web/src/components/wishlist-remove-button.tsx
Identity
- Auth pages
web/src/app/(auth) - Sign-in form
web/src/app/(auth)/sign-in/sign-in-form.tsx - Sign-up form
web/src/app/(auth)/sign-up/sign-up-form.tsx - Auth client
web/src/lib/auth-client.ts - Auth API route
web/src/app/api/auth/[...path]/route.ts - Auth service
web/src/lib/auth.ts
Data model
- Database client
web/src/lib/db.ts - Data schema
web/zenstack/schema.ts - Query types
web/zenstack/input.ts
Godot game
- Player controls
game/scripts/player/player_controller.gd - Player movement
game/scripts/player/player_movement.gd - Player view
game/scripts/player/player_view.gd - Interaction
game/scripts/interactive/interact_component.gd - Context UI
game/scripts/interactive/context_ui.gd - Object highlight
game/scripts/interactive/object_highlight.gd - Game server
game/scripts/server/server.gd
Other components
- Visitor
- PostgreSQL
Connections 9
- Visitor → Auth pages: opens account
web/src/app/(auth)/sign-in/page.tsx - Auth pages → Sign-in form: renders
web/src/app/(auth)/sign-in/page.tsx - Auth pages → Sign-up form: renders
web/src/app/(auth)/sign-up/page.tsx - Sign-in form → Auth client: calls sign-in
web/src/app/(auth)/sign-in/sign-in-form.tsx - Sign-up form → Auth client: calls sign-up
web/src/app/(auth)/sign-up/sign-up-form.tsx - Auth service → Database client: configures adapter
web/src/lib/auth.ts - Auth service → PostgreSQL: uses PostgreSQL
- Visitor → Store pages: browses
- Visitor → Player controls: plays game