How yuuki-p/tcc works
ATCC is a corporate-management mobile/web client backed by a modular NestJS REST API. The main user flow is signing in or activating an account, persisting a session token, then using authenticated API features such as employee and task management, chat, meetings, wellbeing, and work records. The API also includes company administration, dashboard, occurrence, audit, backup, mail, and health capabilities. Source excerpts show several controller-to-service calls and authentication internals; links for unsampled modules are limited to documented or indexed references.
Main entry points: app.module.ts NestJS application · permissions.guard.ts Authorization guards · auth.controller.ts Authentication routes · auth.ts Session and auth client
Components 21
Client
- Login screen
frontend/app/index.tsx - Session and auth client
frontend/services/auth.ts - API configuration
frontend/services/config.ts
Identity and access
- Authentication routes
Backend/src/auth/auth.controller.ts - Authentication service
Backend/src/auth/auth.service.ts - Authorization guards
Backend/src/auth/permissions.guard.ts
Workforce operations
- User management
Backend/src/users/users.service.ts - Company management
Backend/src/company/company.service.ts - Dashboard
Backend/src/dashboard/dashboard.service.ts - Task management
Backend/src/tasks/tasks.service.ts - Employee wellbeing
Backend/src/wellbeing/wellbeing.service.ts - Work records
Backend/src/work/work.service.ts - Occurrences
Backend/src/occurrences/occurrences.service.ts
Collaboration
- Internal chat
Backend/src/chat/chat.service.ts - Meetings
Backend/src/meetings/meetings.service.ts
Platform services
- NestJS application
Backend/src/app.module.ts - Audit logging
Backend/src/audit/audit.service.ts - Backup and restore
Backend/src/backup/backup.service.ts - Mail delivery
Backend/src/mail/mail.services.ts - Health check
Backend/src/health/health.controller.ts
Other components
- Employee or admin
Connections 26
- Employee or admin → Login screen: starts session
frontend/app/index.tsx - Login screen → Session and auth client: uses auth
frontend/app/index.tsx - Session and auth client → API configuration: uses API URL
frontend/services/auth.ts - Session and auth client → Authentication routes: sends auth requests
- NestJS application → Authentication routes: registers module
- NestJS application → User management: registers module
Backend/src/app.module.ts - NestJS application → Company management: registers module
Backend/src/app.module.ts - NestJS application → Dashboard: registers module
Backend/src/app.module.ts - NestJS application → Task management: registers module
Backend/src/app.module.ts - NestJS application → Employee wellbeing: registers module
Backend/src/app.module.ts - NestJS application → Work records: registers module
Backend/src/app.module.ts - NestJS application → Occurrences: registers module
Backend/src/app.module.ts - NestJS application → Internal chat: registers module
Backend/src/app.module.ts - NestJS application → Meetings: registers module
Backend/src/app.module.ts - NestJS application → Audit logging: registers module
Backend/src/app.module.ts - NestJS application → Backup and restore: registers module
Backend/src/app.module.ts - NestJS application → Mail delivery: registers module
Backend/src/app.module.ts - NestJS application → Health check: registers module
Backend/src/app.module.ts - Authentication routes → Authentication service: delegates
Backend/src/auth/auth.module.ts - Authentication service → Audit logging: records events
Backend/src/auth/auth.service.ts - Authentication service → Mail delivery: sends reset email
Backend/src/auth/auth.service.ts - Authentication routes → Authorization guards: uses guards
- User management → Authorization guards: secured by
- Task management → Authorization guards: secured by
- Internal chat → Authorization guards: secured by
- Meetings → Authorization guards: secured by
Backend/src/meetings/meetings.controller.ts