A tool for improving your trips to themeparks - once developed
Find a file
2025-09-13 18:19:36 +02:00
api implement background job for updating themepark data 2025-09-13 18:19:36 +02:00
.gitignore Initial commit 2025-09-07 20:07:41 +02:00
api.md begin basic app structure 2025-09-07 21:42:03 +02:00
README.md improve db client + add separate dev db 2025-09-13 18:18:35 +02:00

themepark-assistant

A tool for improving your trips to themepark - once developed

Testing

Send request

curl -H "Authorization: Bearer insecure-token" http://127.0.0.1:8787/notification/list

Update cloudflare d1 db

DB scheme is defined in typescript

apply changes

npx drizzle-kit push --config=drizzle-dev.config.ts

Cloudflare workers tricks

If types are missing, run:

npx wrangler types

Testing cronjobs

Run worker locally (without remote d1 access)

npx wrangler dev --test-scheduled

Run worker locally (with remote connection to d1)

npx wrangler dev --remote --test-scheduled

Run curl request with cron expression

curl "http://localhost:8787/__scheduled?cron=*+*+*+*+*"