findings
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in milliseconds.
Viewing readonly version of main branch: v6View latest version
Webhook handlers for Notion integrations.
POST /tasks/blob
- Process PDF extraction and blob storage for Notion pagesPOST /tasks/notion-webhook
- General Notion webhook handlerPOST /tasks/test
- Test endpoint for webhook authenticationGET /tasks/debug-webhook
- Debug endpoint to check webhook configuration
Routes handle HTTP request/response only. Business logic is delegated to:
tasks.controller.ts
- Orchestrates PDF extraction, blob storage, and Notion updatesnotion.service.ts
- Handles Notion API callspdfExtractor.ts
- Handles PDF text extraction