How vernsmoke/techcare works
TechCare is a local-pilot campus support and community portal. Visitors browse campus information, troubleshooting guides, resources and announcements; members can register and verify accounts, contribute to moderated discussions, connect with other members, and access support features. Staff manage content and review submissions. The Next.js app exposes a shared API route backed by server-side services and persistent SQLite data. The README documents major capabilities beyond the sampled excerpts; their paths are represented from the tree, but uncertain internal call wiring is omitted.
Main entry points: api.mjs API handler · route.ts API route · shell.tsx Navigation shell · views.tsx Portal views
Components 21
Portal experience
- Portal entry
src/app/page.tsx - Navigation shell
src/components/shell.tsx - Portal views
src/components/views.tsx - Announcements
src/components/announcements.tsx - Help assistant
src/components/guide-assistant.tsx - Assistant knowledge
src/lib/guide-assistant.ts
Community services
- Discussion pages
src/components/discussion.tsx - Community features
src/components/community.tsx - Accounts and access
src/lib/server/auth.mjs - Discussion service
src/lib/server/discussion.mjs
Staff and content
- Content management
src/components/content-settings.tsx - Announcement settings
src/components/announcement-settings.tsx - Managed content
src/lib/server/managed-content.mjs - Announcement service
src/lib/server/announcements.mjs
Server platform
- API route
src/app/api/[...path]/route.ts - API handler
src/lib/server/api.mjs - SQLite data
src/lib/server/db.mjs - Media handling
src/lib/server/media.mjs - Mail delivery
src/lib/server/mail.mjs
Other components
- Visitor or member
- SMTP service
Connections 22
- Visitor or member → Portal entry: opens
- Portal entry → Navigation shell: renders
- Navigation shell → Portal views: selects views
- Portal views → Discussion pages: renders
- Portal views → Community features: renders
- Navigation shell → Announcements: shows
- Navigation shell → Help assistant: offers help
- Help assistant → Assistant knowledge: matches topics
- Portal views → API route: requests data
- Discussion pages → API route: requests data
- Community features → API route: requests data
- Content management → API route: saves changes
- Announcement settings → API route: saves changes
- API route → API handler: dispatches
- API handler → SQLite data: persists data
- API handler → Accounts and access: uses access rules
- API handler → Discussion service: handles discussions
- API handler → Managed content: handles content
- API handler → Announcement service: handles announcements
- API handler → Media handling: handles uploads
- API handler → Mail delivery: sends mail
- Mail delivery → SMTP service: delivers messages