How twisisa258/twisisa works
Twisisa is a Portuguese-language study platform. Students sign in, choose a study path, and use the dashboard to reach learning materials, simulator sessions, progress, and community features; administrators manage educational content. The graph also includes authentication, subscriptions, AI chat, and editorial content. Several routes and domain modules were not sampled, so those branches are represented at their existing directory paths; their internal wiring is left unspecified where evidence is unavailable.
Main entry points: auth.ts Authentication · page.tsx Student dashboard · route.ts Checkout endpoint · biblioteca Library browsing
Components 22
Student learning
- Student dashboard
app/aluno/(painel)/page.tsx - Progress overview
lib/aluno-overview.ts - Study path
lib/percurso.ts - Study library
lib/library.ts - Library browsing
app/biblioteca - Exam simulator
app/aluno/simulador - Quiz engine
lib/quiz-engine.ts
Content operations
- Admin content
app/admin - Question template
app/admin/questoes/modelo/route.ts - Question catalog
lib/questions.ts
Platform services
- Sign-in and signup
components/auth-form.tsx - Authentication
lib/auth.ts - PostgreSQL data
lib/db/schema.ts - Checkout endpoint
app/api/checkout/route.ts - Subscriptions
lib/subscription.ts - Stripe integration
lib/stripe.ts
Engagement and publishing
- Community feed
components/community-feed.tsx - Community page
app/comunidade/page.tsx - Jonas assistant
components/jonas-chat.tsx - Editorial content
lib/blog.ts - Home page
components/home-page.tsx
Other components
- Student
Connections 24
- Student → Student dashboard: opens
app/aluno/(painel)/page.tsx - Student dashboard → Authentication: checks session
app/aluno/(painel)/page.tsx - Student dashboard → Progress overview: loads overview
app/aluno/(painel)/page.tsx - Student dashboard → Study path: validates path
app/aluno/(painel)/page.tsx - Student dashboard → Library browsing: links to
app/aluno/(painel)/page.tsx - Student dashboard → Exam simulator: links to
app/aluno/(painel)/page.tsx - Student dashboard → PostgreSQL data: queries profile
app/aluno/(painel)/page.tsx - Library browsing → Study library: loads materials
app/biblioteca/explorar/page.tsx - Library browsing → Authentication: checks access
app/biblioteca/explorar/page.tsx - Community page → Authentication: checks access
app/comunidade/page.tsx - Community page → Community feed: renders feed
app/comunidade/page.tsx - Community feed → Community page: uses actions
components/community-feed.tsx - Question template → Admin content: checks admin
app/admin/questoes/modelo/route.ts - Question template → Question catalog: builds template
app/admin/questoes/modelo/route.ts - Sign-in and signup → Authentication: uses client auth
components/auth-form.tsx - Authentication → PostgreSQL data: uses database
lib/auth.ts - Authentication → Admin content: guards admin access
- Authentication → PostgreSQL data: connects pool
- Checkout endpoint → Authentication: checks session
app/api/checkout/route.ts - Checkout endpoint → Subscriptions: checks current plan
app/api/checkout/route.ts - Checkout endpoint → Stripe integration: creates checkout
app/api/checkout/route.ts - Home page → Editorial content: loads articles
components/home-page.tsx - Jonas assistant → Authentication: checks access
app/jonas/page.tsx - Home page → Student: serves entry page