How redward42/liftoffapp works
LiftOff is a gym-focused social posting app. Visitors search and browse a feed, sort posts by recency or popularity, open a post to view its details and comments, and can create, edit, or delete posts. The React app routes these screens and uses Supabase for post and comment data. The README documents these capabilities; source excerpts show the main screens and their database operations, but do not establish the underlying schema or deployment details.
Main entry points: App.tsx App routes · Details.tsx Post details · Home.tsx Home feed · Create.tsx Create post
Components 14
App and navigation
- React entry
src/main.tsx - App routes
src/App.tsx - Search navigation
src/components/Navbar.tsx
Post workflows
- Home feed
src/pages/Home.tsx - Post card
src/components/Post.tsx - Create post
src/pages/Create.tsx - Post details
src/pages/Details.tsx - Post comments
src/pages/Details.tsx - Edit and delete
src/pages/Edit.tsx
Data access
- Post data type
src/types/PostI.ts - Supabase client
src/supabase-client.ts - Posts store
- Comments store
Other components
- Visitor
Connections 25
- Visitor → React entry: opens app
- React entry → App routes: renders
src/main.tsx - App routes → Search navigation: renders
src/App.tsx - App routes → Home feed: routes to
src/App.tsx - App routes → Create post: routes to
src/App.tsx - App routes → Post details: routes to
src/App.tsx - App routes → Edit and delete: routes to
src/App.tsx - Visitor → Search navigation: searches
- Search navigation → App routes: sets search
src/App.tsx - App routes → Home feed: passes search
src/App.tsx - Home feed → Post card: renders
src/pages/Home.tsx - Home feed → Posts store: queries and sorts
src/pages/Home.tsx - Create post → Posts store: reads and inserts
src/pages/Create.tsx - Post details → Posts store: reads and updates likes
src/pages/Details.tsx - Post details → Post comments: renders
src/pages/Details.tsx - Post details → Comments store: reads and inserts
src/pages/Details.tsx - Edit and delete → Posts store: reads, updates, deletes
src/pages/Edit.tsx - Home feed → Supabase client: uses client
src/pages/Home.tsx - Create post → Supabase client: uses client
src/pages/Create.tsx - Post details → Supabase client: uses client
src/pages/Details.tsx - Edit and delete → Supabase client: uses client
src/pages/Edit.tsx - Create post → Post data type: types records
src/pages/Create.tsx - Home feed → Post data type: types records
src/pages/Home.tsx - Post details → Post data type: types records
src/pages/Details.tsx - Edit and delete → Post data type: types records
src/pages/Edit.tsx