How hmaldonadovilla/community-kitchen works
community-kitchen is a configurable process digitization platform: administrators configure forms and dashboards, and users complete multilingual web forms, manage records, and submit responses. The runtime also supports uploads, line items, QR-assisted workflows, follow-up documents, scheduled actions, data sources, and analytics. The tree and README establish these major capabilities; sampled excerpts confirm selected analytics, upload, and server behavior, but do not expose enough wiring to assert every cross-module call.
Main entry points: App.tsx Web app shell · FormView.tsx Form and line items · submissions.ts Submission handling · driveApi.ts Google Drive files
Components 22
Form experience
- Forms dashboard
src/config/Dashboard.ts - Form configuration
src/config/ConfigSheet.ts - Web app shell
src/web/react/App.tsx - Form and line items
src/web/react/components/FormView.tsx - Record list and summary
src/web/react/components/ListView.tsx - QR scanner
src/services/webform/qrScannerAppsScript/service.ts
Form processing
- Submission handling
src/services/webform/submissions.ts - Validation and rules
- File uploads
src/services/webform/uploads.ts - Data sources
src/services/webform/dataSources.ts
Google integrations
- Google Sheets
src/services/webform/driveApi.ts - Google Drive files
src/services/webform/driveApi.ts - Google APIs
cloud-run/api/googleApiClient.js
Follow-up and analytics
- Follow-up documents
src/services/webform/followup.ts - Analytics reports
src/services/webform/analytics/service.ts - Report pipelines
src/services/webform/analytics/pipelineService.ts
Runtime services
- Apps Script runtime
src/Code.ts - Cloud Run API
cloud-run/api/server.js - RPC handlers
cloud-run/api/rpcHandlers.js - Firestore
cloud-run/api/firestoreClient.js
Other components
- Form user
- Form administrator
Connections 23
- Form administrator → Forms dashboard: manages forms
- Forms dashboard → Form configuration: configures
- Form user → Web app shell: opens form
- Web app shell → Form and line items: renders
- Web app shell → Record list and summary: navigates
- Form and line items → Submission handling: submits responses
- Submission handling → Validation and rules: validates
- Submission handling → Google Sheets: writes responses
- Form and line items → File uploads: uploads files
- File uploads → Google Drive files: stores files
- Form and line items → Data sources: loads options
- Form user → QR scanner: scans codes
- Apps Script runtime → Google Sheets: reads and writes
- Apps Script runtime → Google Drive files: manages files
- Web app shell → Cloud Run API: requests RPC
- Cloud Run API → RPC handlers: dispatches
- RPC handlers → Firestore: reads and writes
- RPC handlers → Google APIs: calls APIs
- Submission handling → Follow-up documents: triggers follow-up
- Follow-up documents → Google Drive files: creates documents
- Analytics reports → Report pipelines: builds reports
- Report pipelines → Google Drive files: saves report files
- Report pipelines → Data sources: resolves recipients