Back home

About this project

A small Nuxt application rendered by a Node server on every request, with its own API routes and forms that the server handles.

  • Server-rendered on every request

    Nitro runs a small Node server. Each page is rendered to HTML on the server, then hydrates in the browser.

  • API routes beside the pages

    Files in server/api/ become endpoints: /api/health for probes, /api/subscribe and /api/contact for the forms.

  • Forms that work without JavaScript

    Both forms post to the server. With JavaScript they submit inline; without it the server redirects back with the result.

$npm run generate