@platformatic/nitro is a new Watt capability that lets teams run existing Nitro applications inside the Platformatic Watt runtime without changing their server, build, or development workflow. It supports both standalone Nitro apps and Vite-plus-Nitro setups, preserving Nitro's routing, handlers, and build output while Watt handles lifecycle, gateway integration, HTTP metrics, HTTPS, and multi-worker deployments. A key feature is the scheduler integration: by adding a single Nitro module, Watt takes ownership of cron-based scheduled tasks and ensures only one instance runs each task across a multi-instance deployment. When the Intelligent Command Center (ICC) is enabled, it acts as a cluster-wide control plane, selecting a healthy instance per job run and exposing run history and pause/resume controls. The contract is also available to Nuxt apps via @platformatic/nuxt/scheduler.

9m read timeFrom blog.platformatic.dev
Post cover image
Table of contents
Two ways to use NitroStart with an existing applicationA Nitro server in the Watt runtimeScheduled work without duplicate runsConclusion
362 Impressions