Full-stack application

Frontend, API and data. Together.

Host the whole application: the user interface, request-handling server logic and a database. Manage deployments and settings on Layero.

Deployment overviewLayero
FrontendHTML · CSS · JS
API / runtimeHTTP · HTTPS
DatabasePostgreSQL

From an idea to a working project

One project

Next.js, Nuxt and other server frameworks combine the interface and request handlers. They need a server build and a production start command.

A separate API

The frontend and API can live in separate repository directories. Specify their roots, build commands and start commands in the project configuration.

Data and secrets

Store data in a database and service keys in server environment variables. The application local filesystem is not a replacement for persistent storage.

Updates through Git

Connect a repository and publish updates from your usual workflow. Builds and their results are available in the project dashboard.

How hosting works

CapabilityHow it works
Next.js / NuxtServer build + runtime
Frontend + backendProject roots in layero.json
HTTP APIServer handlers
PostgreSQLDatabase connection
SecretsServer environment variables
Domain and HTTPSConfigured in the project dashboard

How to publish your project

Prepare your project

Verify the production build and start command. The server must accept external HTTP requests and listen on the configured port.

Start deployment

Import the repository or run the CLI. Review the detected settings; use layero.json for a custom project structure.

npx layero@latest deploy

Check the result

Add server variables and a database connection. Test sign-in, data writes and reads, application logs and API failure handling.

Where it fits

Where it fits

  • SaaS and account areas
  • Applications with authentication
  • Services with custom business logic

Your workflow on Layero

  • Publish from Git or the CLI
  • Builds and logs in the project dashboard
  • Domain and environment variables
What to configure before launch

Provide a working production start command. Store data in a database or file storage, and keep secrets in server environment variables.

FAQ

Can I avoid building my own API?
Use Layero Data API where it fits. Payment webhooks, private integrations and complex business logic should be implemented in server handlers.
Where should I look if the application does not start?
Check build and runtime logs, the start command, port and required variables. A successful build alone does not mean the HTTP server is ready.
Can I connect my own domain?
Yes. Add the domain in the project dashboard and configure DNS using the instructions. See the pricing page for plan requirements and available features.
How do I update a published project?
Push changes to the connected Git repository or deploy again from the project folder. The build result and logs appear in the dashboard.

Launch your project on Layero

Start with a folder of code or import a repository in the Layero dashboard.