How vrindaverse/tdc works
TDC is a developer-community site for discovering events, registering, joining the community, and managing member profiles; administrators oversee members, events, registrations, announcements, and messages. Visitors browse the public site, authenticate through Neon Auth, complete a profile, and register for events; members use their profile for community activity. Admin pages provide operational management and exports. The README identifies Neon Postgres and S3-compatible avatar storage. Some route implementations were not sampled, so their internal call relationships are left out rather than inferred.
Main entry points: schema.ts Community data model · neon-auth.ts Authentication · app/page.tsx Community homepage · join/page.tsx Event registration
Components 21
Public Community
- Community homepage
app/page.tsx - TDC story
app/about/page.tsx - Event discovery
app/events/page.tsx - Contact page
app/contact/page.tsx
Membership
- Authentication
lib/neon-auth.ts - Sign-in and verification
app/login/page.tsx - Profile setup
app/complete-profile/page.tsx - Event registration
app/join/page.tsx - Member profile
app/profile/page.tsx - Avatar upload API
app/api/profile/avatar/route.ts
Administration
- Admin workspace
app/admin/page.tsx - Member management
app/admin/users/page.tsx - Admin list queries
lib/admin/list-queries.ts - CSV export
app/api/admin/export/[table]/route.ts - Event management
app/admin/events/page.tsx - Other admin tools
app/admin
Platform Services
- Community data model
lib/db/schema.ts - Neon Postgres
- Neon Auth
- S3-compatible storage
Other components
- Visitor or member
Connections 25
- Visitor or member → Community homepage: browses
app/page.tsx - Visitor or member → TDC story: reads
app/about/page.tsx - Visitor or member → Event discovery: discovers
- Visitor or member → Sign-in and verification: signs in
app/login/page.tsx - Visitor or member → Event registration: registers
app/join/page.tsx - Visitor or member → Contact page: contacts
app/contact/page.tsx - Community homepage → Authentication: checks session
app/page.tsx - Community homepage → Event discovery: shows events
app/page.tsx - Sign-in and verification → Authentication: authenticates
app/login/page.tsx - Authentication → Neon Auth: uses
README.md - Profile setup → Community data model: reads colleges
app/complete-profile/page.tsx - Event registration → Authentication: checks member
app/join/page.tsx - Event registration → Community data model: reads events
app/join/page.tsx - Member profile → Community data model: reads member data
app/profile/page.tsx - Member profile → Avatar upload API: uploads avatar
- Avatar upload API → Community data model: updates profile
app/api/profile/avatar/route.ts - Avatar upload API → S3-compatible storage: stores image
README.md - Admin workspace → Neon Postgres: queries overview
app/admin/page.tsx - Member management → Admin list queries: loads member rows
app/admin/users/page.tsx - Member management → CSV export: links export
app/admin/users/page.tsx - CSV export → Admin list queries: loads export rows
app/api/admin/export/[table]/route.ts - CSV export → Neon Postgres: queries events
app/api/admin/export/[table]/route.ts - Event management → Community data model: manages event data
- Other admin tools → Community data model: manages community data
app/admin/page.tsx - Neon Postgres → Community data model: stores model
README.md