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.
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
| Capability | How it works |
|---|---|
| Next.js / Nuxt | Server build + runtime |
| Frontend + backend | Project roots in layero.json |
| HTTP API | Server handlers |
| PostgreSQL | Database connection |
| Secrets | Server environment variables |
| Domain and HTTPS | Configured 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 deployCheck 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
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?
Where should I look if the application does not start?
Can I connect my own domain?
How do I update a published project?
Launch your project on Layero
Start with a folder of code or import a repository in the Layero dashboard.