Skip to content

DocsDeploy guides

Frameworks

The frameworks the platform recognises and sets up, how the framework of an app is chosen from composer.json and package.json, and what any other Node.js app needs.

Any app that runs on Node.js 18, 20, 22 or 24 and listens on the port in PORT can be deployed, and so can a Laravel app on PHP 8.2, 8.3 or 8.4. The frameworks below are recognised from your composer.json or package.json and set up for you: the build and start commands, and the shape of the running app. Anything else runs as a plain Node.js app with your own build and start commands.

Framework What runs Guide
Express Your server, with npm run start Express
Fastify Your server, with npm run start. Listen on 0.0.0.0 Fastify
Hono Your server on Node, through @hono/node-server Hono
Koa Your server, with npm run start Koa
Hapi Your server, with npm run start. Host 0.0.0.0, not localhost Hapi
Sails Your server, with npm run start. Two production settings to set Sails
NestJS The server nest build writes into dist, with node dist/main NestJS
Next.js next start, pages rendered on the server Next.js
Nuxt The server Nuxt builds into .output Nuxt
SvelteKit The server adapter-node writes into build, or built files with adapter-static SvelteKit
Astro Your built files, served by the platform, or the server of @astrojs/node Astro
React Router react-router-serve on the build, pages rendered on the server. Remix 2 too React Router
TanStack Start The server nitro builds into .output TanStack Start
React Your built files, served by the platform. Vite or Create React App React
Vue Your built files, served by the platform. Vite or Vue CLI Vue
Angular Your built files, served by the platform. Server rendering coming soon Angular
AdonisJS The server node ace build writes into build AdonisJS
Laravel PHP behind FrankenPHP, or Octane; Blade, Livewire, Inertia with React or Vue, with or without SSR Laravel
Node.js Any other server of your own, with npm run start Node.js

Every guide has the same parts: what the app needs, a small app that runs, how it is recognised, the build and start commands and what the running app carries, the variables that differ, a health check path and the visitor’s address in the framework’s own idiom. What every app shares is on The running app and Requests and sockets.

When you create an app, the dashboard reads the composer.json of the repository, then its package.json, and picks the framework they name:

The repository has Framework
laravel/framework in require of composer.json Laravel, whatever package.json says
next in dependencies Next.js
nuxt in dependencies or devDependencies Nuxt
@tanstack/react-start or @tanstack/solid-start, in either list TanStack Start
@react-router/dev or @react-router/serve (or @remix-run/dev, @remix-run/serve), in either list React Router
@sveltejs/kit, in either list SvelteKit
astro, in either list Astro
@adonisjs/core in dependencies AdonisJS
@nestjs/core in dependencies NestJS, also with express among the dependencies
sails in dependencies Sails, also with express among the dependencies
express in dependencies Express, also when the pages are written in React
fastify in dependencies Fastify
hono in dependencies Hono, also with React pages and Vite
koa in dependencies Koa
@hapi/hapi in dependencies Hapi
react in dependencies, with vite or react-scripts React
vue in dependencies, with vite or @vue/cli-service Vue
@angular/core in dependencies Angular
None of these The framework you chose

The rows are read from the top: the first that fits decides. That is why React Router and TanStack Start come before React, which they carry, and NestJS and Sails before Express. A framework you pick by hand stays, and the build and start commands are filled in for the framework that is picked.

The framework is set when the app is created and cannot be changed later. When the repository moves on to another framework, the app is still built as the one it was created as. For another framework, create a new app from the same repository.

An app that none of the rows names is a Node.js app: choose that framework when you create it. It is built and run the way an Express app is, with npm run start and the packages from dependencies. What it has to do is short: listen on the port in PORT on every address (0.0.0.0), start within 2 minutes, and keep its data outside the app. The Node.js guide says it in full, and Check your app checks it for you.