How palisadoesfoundation/talawa-api works
Talawa API is the backend for a group-activity platform serving nonprofit organizations and businesses. The principal workflow is a client accessing the API to manage membership, groups, events and facilities; the README documents these capabilities, while the tree shows GraphQL, REST authentication, persistence and background-worker subsystems. The graph also preserves documented fundraising/social capabilities and visible plugin and notification components. Some domain implementations are unsampled, so their internal calls are omitted rather than inferred; dashed links mark unverified integration points.
Main entry points: schema.ts PostgreSQL data · eventGenerationPipeline.ts Event generation · schemaManager.ts GraphQL schema · authService.ts Authentication
Components 20
API access
- GraphQL endpoint
src/routes/graphql.ts - GraphQL schema
src/graphql/schemaManager.ts - Request context
src/graphql/context.ts
Identity and extensions
- Authentication
src/services/auth/authService.ts - OAuth providers
src/utilities/auth/oauth/OAuthProviderRegistry.ts - Plugin lifecycle
src/plugin/manager/lifecycle.ts
Organization features
- Membership management
src/graphql/types - Groups management
src/graphql/types - Event registration
src/graphql/types/Event/Event.ts - Recurring meetings
src/services/eventGeneration/windowManager.ts - Facility registration
src/graphql/types - Funds and campaigns
src/graphql/types/Fund/Fund.ts - Chat and posts
src/graphql/types/Chat/Chat.ts
Runtime services
- Notifications
src/graphql/types/Notification/Notification_engine.ts - Background workers
src/workers/backgroundWorkerService.ts - Event generation
src/workers/eventGeneration/eventGenerationPipeline.ts - Caching
src/services/caching/RedisCacheService.ts - File storage
src/fastifyPlugins/minioClient.ts
Persistence
- PostgreSQL data
src/drizzle/schema.ts
Other components
- Talawa clients
Connections 16
- Talawa clients → GraphQL endpoint: accesses API
README.md - GraphQL schema → Request context: uses context
- GraphQL schema → Plugin lifecycle: registers extensions
src/graphql/schemaManager.ts - Authentication → PostgreSQL data: reads and writes
src/services/auth/authService.ts - Authentication → OAuth providers: uses providers
- Background workers → Event generation: runs generation
src/workers/backgroundWorkerService.ts - Event generation → Recurring meetings: generates instances
- Event generation → PostgreSQL data: uses schema
src/workers/eventGeneration/eventGenerationPipeline.ts - Notifications → PostgreSQL data: reads and writes
src/graphql/types/Notification/Notification_engine.ts - Request context → Caching: provides cache
- Event registration → Recurring meetings: supports recurring events
- Facility registration → PostgreSQL data: persists registrations
- Membership management → PostgreSQL data: persists membership
- Groups management → PostgreSQL data: persists groups
- Funds and campaigns → PostgreSQL data: persists campaigns
- Chat and posts → PostgreSQL data: persists content