How blackdadgamer/parent works
Everest AI’s repository implements an educator-focused web portal: visitors encounter the product landing page, users can sign up or sign in, then manage an account, view a dashboard, and redeem access codes. The broader Chat, QGen, and PPTgen products are linked as external services rather than implemented here. Supabase supplies browser/server authentication and account data; redemption also invokes a database RPC. The graph follows documented imports and visible calls; several page implementations are only sampled, so uncertain runtime links are omitted.
Main entry points: server.ts Server Supabase client · app/page.tsx Landing page · client.ts Browser Supabase client · signup/page.tsx Sign up
Components 21
Public site
- Landing page
app/page.tsx - Site navigation
components/Navbar.tsx - Legal pages
components/LegalLayout.tsx
Identity and access
- Sign up
app/signup/page.tsx - Sign in
app/login/page.tsx - Auth callback
app/auth/callback/route.ts - Sign out
app/logout/route.ts - Session middleware
middleware.ts
Account portal
- Dashboard
app/dashboard/page.tsx - Account settings
app/account/page.tsx - Profile update
app/api/account/update/route.ts - Redeem page
app/redeem/page.tsx - Redemption API
app/api/redeem/route.ts
Shared services
- Site footer
components/SiteFooter.tsx - Browser Supabase client
lib/supabase/client.ts - Server Supabase client
lib/supabase/server.ts
Other components
- Visitor
- Supabase platform
- Everest Chat
- QGen
- PPTgen
Connections 22
- Visitor → Landing page: browses
app/page.tsx - Landing page → Site navigation: renders
app/page.tsx - Visitor → Sign up: registers
app/signup/page.tsx - Visitor → Sign in: signs in
app/login/page.tsx - Sign up → Browser Supabase client: authenticates
app/signup/page.tsx - Sign in → Browser Supabase client: authenticates
app/login/page.tsx - Auth callback → Server Supabase client: exchanges code
app/auth/callback/route.ts - Sign out → Server Supabase client: signs out
app/logout/route.ts - Dashboard → Browser Supabase client: loads portal data
app/dashboard/page.tsx - Account settings → Server Supabase client: reads account
app/account/page.tsx - Profile update → Server Supabase client: updates profile
app/api/account/update/route.ts - Redeem page → Browser Supabase client: uses auth
app/redeem/page.tsx - Redemption API → Server Supabase client: checks user
app/api/redeem/route.ts - Redemption API → Supabase platform: calls redemption RPC
app/api/redeem/route.ts - Browser Supabase client → Supabase platform: connects
lib/supabase/client.ts - Server Supabase client → Supabase platform: connects
lib/supabase/server.ts - Landing page → Everest Chat: links to
app/page.tsx - Landing page → QGen: links to
app/page.tsx - Landing page → PPTgen: links to
app/page.tsx - Dashboard → Site footer: renders
app/dashboard/page.tsx - Sign up → Site footer: renders
app/signup/page.tsx - Legal pages → Supabase platform