How kashish-jain-kj/easley-dunn works
Cerberus is an access-governance platform for user lifecycle management across external services. Operators authenticate, select a user, and request onboarding or offboarding; the backend routes protected requests to provider integrations that update external permissions and record outcomes. The dashboard also supports role management and activity-log review. The README documents nine provider integrations, while sampled source confirms several integration details; other provider internals are represented at their listed controller paths without assuming their implementation.
Main entry points: App.js Dashboard · index.routes.js Feature router · routes Provider routes · discord.controller.js Discord access
Components 23
Operator dashboard
- Dashboard
frontend/src/App.js - Session context
frontend/src/context/AuthContext.js - Authenticated fetch
frontend/src/utils/fetchWithAuth.js - User views
frontend/src/components/UserList.js - Role management
frontend/src/components/RoleManagementCard.js - Activity logs
frontend/src/components/ActivityLogsCard.js
API and identity
- HTTP application
backend/src/app.js - Feature router
backend/src/routes/index.routes.js - Authentication routes
backend/src/routes/auth.routes.js - Authentication guard
backend/src/middlewares/requireAuth.middleware.js
Access governance
- Users and roles
backend/src/controllers/roles.controller.js - Administration
backend/src/controllers/admin.controller.js - Service catalog
backend/src/controllers/services.controller.js
Provider integrations
- Provider routes
backend/src/routes - BigQuery access
backend/src/controllers/bigQuery.controller.js - Discord access
backend/src/controllers/discord.controller.js - App Store Connect
backend/src/controllers/appleStoreConnect.controller.js - Other providers
backend/src/controllers
Persistence and audit
- PostgreSQL
backend/src/db/database.js - Activity audit
backend/src/utils/logUtils.js - Email delivery
backend/src/utils/mail.js
Other components
- Operator
- External services
Connections 31
- Operator → Dashboard: uses
README.md - Dashboard → Session context: checks session
frontend/src/App.js - Dashboard → Authenticated fetch: sends requests
frontend/src/App.js - Dashboard → User views: renders
frontend/src/App.js - Dashboard → Role management: renders
frontend/src/App.js - Dashboard → Activity logs: renders
frontend/src/App.js - Dashboard → HTTP application: calls API
frontend/src/App.js - Session context → Authentication routes: calls auth API
frontend/src/context/AuthContext.js - HTTP application → Feature router: mounts
backend/src/app.js - Feature router → Authentication routes: mounts
backend/src/routes/index.routes.js - Feature router → Authentication guard: guards routes
backend/src/routes/index.routes.js - Feature router → Provider routes: mounts
backend/src/routes/index.routes.js - Feature router → Users and roles: routes roles
backend/src/routes/index.routes.js - Feature router → Administration: routes admin
backend/src/routes/index.routes.js - Feature router → Service catalog: routes services
backend/src/routes/index.routes.js - Provider routes → BigQuery access: dispatches
backend/src/routes/bigQuery.routes.js - Provider routes → Discord access: dispatches
backend/src/routes/index.routes.js - Provider routes → App Store Connect: dispatches
backend/src/routes/appleStoreConnect.routes.js - Provider routes → Other providers: dispatches
backend/src/routes/bigQuery.routes.js - BigQuery access → PostgreSQL: reads and writes
backend/src/controllers/bigQuery.controller.js - BigQuery access → Activity audit: records outcomes
backend/src/controllers/bigQuery.controller.js - Discord access → PostgreSQL: reads and writes
backend/src/controllers/discord.controller.js - Discord access → Activity audit: records outcomes
backend/src/controllers/discord.controller.js - Discord access → Email delivery: sends invites
backend/src/controllers/discord.controller.js - App Store Connect → PostgreSQL: uses access records
backend/src/controllers/appleStoreConnect.controller.js - App Store Connect → Activity audit: records operations
backend/src/controllers/appleStoreConnect.controller.js - BigQuery access → External services: manages permissions
README.md - Discord access → External services: manages membership
README.md - App Store Connect → External services: provisions access
README.md - Other providers → External services: integrates services
README.md - Activity audit → PostgreSQL: persists logs
backend/src/utils/logUtils.js