Skip to content
spectivis.com

Spectivis CloudNext.js

Getting started with the Next.js sample

Deploy a small Next.js 16 app that shows streaming, a server action, after() and a route handler.

The Next.js sample is a small Next.js 16 app with the current App Router patterns: server components, a server action, a section that streams in with Suspense, an after() callback and a route handler.

  1. Choose a plan if your organization does not have one yet.
  2. Choose New app, then “Deploy a sample”, then Next.js.
  3. Name the app. The name becomes its address and cannot be changed later.
  4. Leave the Next.js preset on and choose an instance size. 512 MB is enough for the sample.
  5. Choose Deploy.

Cloud builds the app, starts it, and switches traffic when / answers. There is no release command and no database for this sample.

Open the app’s address.

  • Streaming. The heading appears at once. The server details appear about a second and a half later. Cloud does not buffer responses, so the parts reach you as they are ready.
  • Server action. Write a note and choose Save. The page shows it. Notes live in memory, so they reset on each deploy.
  • after(). Open the Logs tab after you save a note. You will see a line from the after() callback. Cloud gives a stopping app 30 seconds, so these callbacks can finish.
  • Route handler. /api/health returns {"status":"ok"}.

Next: Next.js on Spectivis Cloud.

© 2026 Spectivis Technologies Inc.TermsPrivacyRefundsAcceptable use