How anuragahirwar958-prog/anurag works
EventFlex is a full-stack event staffing and hiring product. Its main workflow takes organizers from account creation through event and job publishing, then professionals through job discovery and applications; organizers shortlist and hire, followed by acceptance, assignment, attendance, payment, and review. The frontend uses the backend API, which persists to PostgreSQL. The graph preserves the documented domain stages and major discovery capability. Some backend modules and database schema were not sampled, so uncertain internal calls and optional integrations are omitted.
Main entry points: eventflex.ts API services · main.ts Backend API · database.service.ts Database access · page.tsx Login
Components 22
Web application
- Home and discovery
frontend/app/page.tsx - Registration
frontend/app/register/page.tsx - Login
frontend/app/login/page.tsx - Organizer events
frontend/app/organizer/events/create/page.tsx - Organizer dashboard
frontend/app/organizer/dashboard/page.tsx - Professional jobs
frontend/app/professional/jobs/page.tsx - Professional dashboard
frontend/app/professional/dashboard/page.tsx - Job search
frontend/app/jobs/page.tsx - Role workspace
frontend/components/Workspace.tsx - API services
frontend/services/eventflex.ts - HTTP client
frontend/lib/api.ts - Session handling
frontend/lib/auth.ts
Backend API
- Backend API
backend/src/main.ts - Accounts and auth
backend/src/auth.ts - Events and jobs
backend/src/events-jobs.ts - Applications and hiring
backend/src/workflow.ts - Assignment completion
backend/src/completion.ts - Notifications
backend/src/notifications.ts - Database access
backend/src/database.service.ts
Persistence
- EventFlex database
database/schema/schema.sql
Other components
- Organizer
- Professional
Connections 32
- Organizer → Registration: creates account
- Professional → Registration: creates account
- Organizer → Login: signs in
- Professional → Login: signs in
- Organizer → Organizer events: creates event
- Organizer → Organizer dashboard: manages hiring
- Professional → Professional jobs: finds work
- Professional → Job search: searches jobs
- Registration → API services: registers via
- Login → API services: authenticates via
- Organizer events → API services: manages events via
- Organizer dashboard → API services: uses API
- Professional jobs → API services: searches and applies via
- Job search → API services: searches via
- Organizer dashboard → Role workspace: uses
- Professional dashboard → Role workspace: uses
- Professional jobs → Role workspace: uses
- Login → Session handling: saves session
- Role workspace → Session handling: reads session
- API services → HTTP client: sends requests
- HTTP client → Backend API: HTTP requests
- Backend API → Accounts and auth: dispatches auth
- Backend API → Events and jobs: dispatches event and job requests
- Backend API → Applications and hiring: dispatches workflow requests
- Backend API → Assignment completion: dispatches completion requests
- Backend API → Notifications: dispatches notification requests
- Accounts and auth → Database access: queries and writes
- Events and jobs → Database access: uses database
- Applications and hiring → Database access: uses database
- Assignment completion → Database access: uses database
- Notifications → Database access: uses database
- Database access → EventFlex database: queries and transacts