feat: add sidecar service for Sessionize sync
- Introduced a new Node HTTP service (sidecar) to sync event agendas from Sessionize into Convivo. - Implemented two import paths: API sync and Excel import for session and speaker data. - Added necessary database migrations for sessionize integration, including new columns and audit tables. - Created functions for handling speaker and session imports, ensuring proper error handling and logging. - Established row-level security and grants for new functions to restrict access to service-role only. Co-authored-by: Stephan Charles <[email protected]> Co-authored-by: Amelia Hernandez <[email protected]> Co-authored-by: Markus Franz <[email protected]> Co-authored-by: Sabrina Hota <[email protected]> Co-authored-by: Nilüfer Doğan <[email protected]>
This commit is contained in:
1 parent
a0bcf866dc
commit
5f8ded56f6
31 files changed
+2729
-390
No files matched your search
@@ -0,0 +1,23 @@
|
||||
# Convivo sidecar — Sessionize sync (on-demand).
|
||||
#
|
||||
# A small Node HTTP service driven by the APPE Admin "Interfaces" menu. It
|
||||
# fetches an event's Sessionize data (authenticated API) and writes it to
|
||||
# Supabase via the service-role-only sync_sessionize_event RPC.
|
||||
#
|
||||
# It joins the shared Supabase network and reaches PostgREST at
|
||||
# supabase_kong_Convivo:8000 (Kong's internal port). It is the first
|
||||
# server-side holder of the service-role key (see docs/backend/sidecar.md).
|
||||
#
|
||||
# One runtime dependency (xlsx, for parsing the Sessionize .xlsx export).
|
||||
FROM node:20-alpine
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY package.json ./
|
||||
RUN npm install --omit=dev
|
||||
COPY src/ ./src/
|
||||
|
||||
ENV NODE_ENV=production
|
||||
EXPOSE 3002
|
||||
|
||||
CMD ["node", "src/server.js"]
|
||||
Reference in new issue
Block a user