How hetianhejin/teachat works
Teachat is a task-oriented team social application for coordinating small service work. A participant enters through the web app, forms an objective, responds with a project, discusses it in threads and records positions; work can then be captured through structured action records, with skills and outcomes contributing to evaluation. Teams are the activity actors, while user and family features provide relationship context. The README also describes group management, service offerings, messaging, notifications, search and fairness mechanisms. The available source excerpts show routing, authentication and DAO/database behavior; links within unsampled product areas are based on documented capabilities and route registration.
Main entry points: main.go HTTP application · thread.go Discussion records · route_search.go Search · user.go User records
Components 23
Web entry
- HTTP application
main.go
Identity and teams
- Authentication
Route/route_authenticate.go - Session records
DAO/session.go - User records
DAO/user.go - Family relations
DAO/family.go - Team membership
Route/route_team_member.go - Teams and groups
DAO/team.go - Group records
DAO/group.go
Task collaboration
- Objectives
Route/route_talk_objective.go - Projects
Route/route_talk_project.go - Discussion threads
Route/route_talk_thread.go - Discussion records
DAO/thread.go
Work and evaluation
- Work actions
Route - Skills and records
DAO/skill.go - Scoring and reviews
DAO/order_score.go - Service offerings
DAO/team_service_offering.go - Offering workflow
Route/route_team.go
Shared services
- Search
Route/route_search.go - Messages and notices
Route/route_message_box.go - Message records
DAO/message.go - Notifications
Route/route_notification.go
Other components
- Participant
- PostgreSQL
Connections 35
- Participant → HTTP application: uses
- HTTP application → Authentication: dispatches
- HTTP application → Team membership: dispatches
- HTTP application → Objectives: dispatches
- HTTP application → Projects: dispatches
- HTTP application → Discussion threads: dispatches
- HTTP application → Work actions: dispatches
- HTTP application → Offering workflow: dispatches
- HTTP application → Search: dispatches
- HTTP application → Messages and notices: dispatches
- HTTP application → Notifications: dispatches
- Authentication → User records: reads and creates
- Authentication → Session records: creates and checks
- Team membership → Teams and groups: reads and updates
- Team membership → User records: reads
- Objectives → Discussion records: records
- Projects → Discussion records: records
- Discussion threads → Discussion records: records
- Work actions → Skills and records: records work
- Scoring and reviews → PostgreSQL: reads and writes
- Offering workflow → Service offerings: manages lifecycle
- Search → User records: searches
- Search → Teams and groups: searches
- Search → Discussion records: searches
- Messages and notices → Message records: reads and writes
- Notifications → PostgreSQL: accesses records
- Session records → PostgreSQL: reads and writes
- User records → PostgreSQL: reads and writes
- Family relations → PostgreSQL: reads and writes
- Teams and groups → PostgreSQL: reads and writes
- Group records → PostgreSQL: reads and writes
- Discussion records → PostgreSQL: reads and writes
- Skills and records → PostgreSQL: reads and writes
- Service offerings → PostgreSQL: reads and writes
- Message records → PostgreSQL: reads and writes