How anas-s-muhammed/steady-progress_app works
Steady is a personal progress tracker: users sign in, manage counters for time since/until or focused time spent, and review milestones, chapters, events, and check-ins. The browser presents the dashboard and sends requests through the API to persist account data in PostgreSQL; timing calculations are shared between client and server. Authentication uses Supabase with server-managed sessions. The README documents the stack and data ownership, while several feature components were not sampled, so uncertain UI-to-feature and optional integration links are omitted.
Main entry points: Home.tsx Tracker dashboard · app.ts Express API · authRoutes.ts Auth endpoints · App.tsx App routes
Components 20
Browser app
- App routes
client/src/App.tsx - Tracker dashboard
client/src/pages/Home.tsx - Sign-in UI
client/src/pages/Auth.tsx - Focus timer
client/src/components/FocusTimer.tsx - Story and reflection
client/src/components/StoryDrawer.tsx - Continuity hub
client/src/components/ContinuityHub.tsx - AI chat
client/src/components/AIChatBox.tsx - Progress map
client/src/components/Map.tsx - Offline queue
client/src/lib/offlineQueue.ts
API and domain
- Express API
server/_core/app.ts - Counter procedures
server/routers.ts - Timing rules
shared/time.ts
Authentication
- Auth endpoints
server/_core/authRoutes.ts - Session handling
server/_core/authSession.ts - Supabase Auth
Persistence
- Database access
server/db.ts - Account and tracker schema
drizzle/schema.ts - Schema readiness
server/database/setup.ts
Other components
- User
- PostgreSQL
Connections 23
- User → App routes: uses
client/src/App.tsx - App routes → Tracker dashboard: routes to
client/src/App.tsx - App routes → Sign-in UI: routes to
client/src/App.tsx - Tracker dashboard → Focus timer: presents
- Tracker dashboard → Story and reflection: presents
- Tracker dashboard → Continuity hub: presents
- Tracker dashboard → AI chat: presents
- Tracker dashboard → Progress map: presents
- Tracker dashboard → Offline queue: queues offline changes
- Sign-in UI → Auth endpoints: authenticates via
- Tracker dashboard → Express API: requests tracker data
- Express API → Counter procedures: mounts tRPC
server/_core/app.ts - Express API → Auth endpoints: mounts auth routes
server/_core/app.ts - Express API → Session handling: installs session middleware
server/_core/app.ts - Counter procedures → Database access: reads and writes
server/routers.ts - Counter procedures → Timing rules: calculates progress
server/routers.ts - Database access → Account and tracker schema: uses tables
server/db.ts - Database access → PostgreSQL: persists account data
README.md - Auth endpoints → Session handling: creates sessions
server/_core/authRoutes.ts - Auth endpoints → Supabase Auth: uses provider
server/_core/authRoutes.ts - Session handling → PostgreSQL: stores session data
- Schema readiness → Account and tracker schema: checks schema
server/database/setup.ts - Express API → Schema readiness: checks readiness
server/_core/app.ts