How kcarttigueane/zapier-clone works
AREA lets users connect service triggers and actions into automated workflows, with web and mobile clients backed by a shared REST API. The documented journey covers account authentication, connecting services, composing automations, and running them; the server also exposes service, trigger, action, compatibility, and activity-related capabilities. The graph includes the main client surfaces and server layers. Some domain wiring is documented rather than excerpted, so those relationships are labeled accordingly or omitted.
Main entry points: main.py REST API · automation.py Automation runner · auth_service.py Authentication service · auth_router.py Authentication routes
Components 21
Web and mobile clients
- Web application
client_web/src/App.tsx - Mobile application
client_mobile/app/App.tsx
API and domain services
- REST API
server/app/main.py - Authentication routes
server/app/routers/auth_router.py - Service routes
server/app/routers/services_router.py - Automation routes
server/app/routers/automations_router.py - Action routes
server/app/routers/actions_router.py - Trigger routes
server/app/routers/triggers_router.py - Compatibility routes
server/app/routers/compatibility_router.py - Service management
server/app/services/services_service.py - Compatibility logic
server/app/services/compatibility_service.py
Automation runtime
- Automation management
server/app/services/automations_service.py - Trigger catalog
server/app/services/triggers_service.py - Action catalog
server/app/services/actions_service.py - Automation runner
server/app/source/automation.py - Trigger integrations
server/app/source/triggers - Action integrations
server/app/source/actions
Identity and persistence
- Authentication service
server/app/services/auth_service.py - User repository
server/app/repository/users_repository.py - MongoDB
server/app/core/database.py
Other components
- External services
Connections 20
- Web application → REST API: uses REST API
- Mobile application → REST API: uses REST API
- REST API → Authentication routes: registers routes
server/app/main.py - REST API → Service routes: registers routes
server/app/main.py - REST API → Automation routes: registers routes
server/app/main.py - REST API → Action routes: registers routes
server/app/main.py - REST API → Trigger routes: registers routes
server/app/main.py - REST API → Compatibility routes: registers routes
server/app/main.py - REST API → Automation runner: starts runtime
server/app/main.py - Authentication routes → Authentication service: delegates auth
server/app/routers/auth_router.py - Authentication service → User repository: reads and writes users
server/app/services/auth_service.py - User repository → MongoDB: accesses database
server/app/repository/users_repository.py - Service routes → Service management: delegates service requests
server/app/routers/services_router.py - Automation routes → Automation management: delegates automation requests
- Action routes → Action catalog: delegates action requests
- Trigger routes → Trigger catalog: delegates trigger requests
- Compatibility routes → Compatibility logic: delegates compatibility requests
- Automation runner → Trigger integrations: checks events
- Automation runner → Action integrations: performs actions
- External services → Authentication service: OAuth authorization