Slice & Dispatch
About

A deliberately busy Laravel site.

Slice & Dispatch is a hand-built sample app we use to exercise the Webslice Serverless platform. It packs more in than a typical "Hello World" so we can actually find regressions: a real database, real pagination, real images, and a real scheduler ticking in the background.

Auckland skyline
Photo: Sulthan Auliya on Unsplash
Mount Cook
Photo: Tobias Keller on Unsplash

What you can poke at

How the scheduler is wired

All schedule definitions live in routes/console.php. On a normal Linux box you'd add * * * * * php artisan schedule:run to crontab. On Webslice Serverless we don't have a system cron, so we expose a token-protected /cron/run endpoint that runs the same scheduler tick. An external scheduler (e.g. GitHub Actions, an EventBridge rule, or a separate cron host) can hit it once a minute.