Deploy an app
- Dashboard: create a project, upload a
.zipof the project folder, check the detected services, press Deploy. - GitHub: on the project page, Connect GitHub, choose a repository and a branch. See Deploy from GitHub.
- Terminal:
nocodeloft deployin the app's folder. See CLI & MCP. - Claude Code or Cursor: add the nocodeloft MCP server and ask “deploy this to nocodeloft”.
Before exporting an app from Lovable or Bolt, paste the prompt from Copy prompt for your AI assistant (on the project page) into the builder. It makes the app follow the rules below.
Deploy from GitHub
- On the project page, under Add your code, press Connect GitHub and choose which repositories nocodeloft may read.
- Pick a repository and a branch. The first commit is checked like an upload: you confirm the detected services.
- Every later push to that branch deploys automatically, as long as the detected services (website, API, worker and their folders) stay the same. Otherwise the commit waits on the project page to be checked.
Deploy latest commit deploys on demand. The checkbox turns deploy-on-push off. nocodeloft only reads code and never writes to a repository. A repository must be under 50 MB once zipped.
Supported stacks
| Part | Detected from |
|---|---|
| Website | Vite (React, Vue, Svelte), Next.js, Nuxt, Remix, SvelteKit, Astro |
| API, Node.js | Express, Fastify, NestJS, Koa, Hono, hapi |
| API, Python | FastAPI, Flask, Django |
| Background worker | A "worker" script in package.json, Celery, or a worker: line in a Procfile |
| Database | PostgreSQL 17, created for you and given to the app as DATABASE_URL |
| Migrations | A package.json script named migrate, db:migrate, migrate:deploy or db:deploy; Prisma, Drizzle, Alembic, Flask-Migrate. They run once per deploy, before the new version starts. |
Folder layouts: a website folder (client/, frontend/, web/, apps/web/, ui/, site/) next to an API folder (server/, backend/, api/, apps/api/), or one full-stack app at the top level.
Rules your app follows
Listen on PORT
The server listens on the port in the PORT environment variable: app.listen(process.env.PORT || 3000) in Node, int(os.environ.get("PORT", 8000)) on host 0.0.0.0 in Python.
Call the API with relative URLs
The website is served at / and the API at /api on the same address. Call it with fetch("/api/todos"), never with http://localhost. No CORS settings are needed.
Keep secrets on the server
Variables starting with VITE_, NEXT_PUBLIC_, REACT_APP_, PUBLIC_ or EXPO_PUBLIC_ are built into the website, where every visitor can read them. Keep keys and passwords in the API, set under Environment variables on the project page. Never upload a .env file. A database address with a password is refused in a website variable.
Store data in a database
Files written to the app's disk and SQLite files are lost on every deploy. Use the database through DATABASE_URL, and the file storage add-on for uploads.
Environment variables
Set variables per service on the project page, with nocodeloft env set KEY=value, or through your assistant. They apply on the next deploy.
When the code has a .env.example (or .env.sample, .env.template), the detected services step lists its variables under Settings your code expects, so the first start already has its keys. Variables nocodeloft sets itself (DATABASE_URL, PORT, REDIS_URL) are marked as set automatically.
Databases and add-ons
An add-on is created by the first deploy when the code uses its client library, or from + Add on the project page. Each is private to its project, stored on its own disk and backed up every night.
| Add-on | Detected from | Given to the app as |
|---|---|---|
| PostgreSQL 17 | pg, Prisma, Drizzle, SQLAlchemy, Django… | DATABASE_URL |
| Redis | ioredis, redis, bullmq | REDIS_URL |
| MySQL 8.4 | mysql2, Prisma with MySQL, PyMySQL | MYSQL_URL |
| MongoDB-compatible (FerretDB) | mongodb, mongoose, pymongo | MONGODB_URL |
| File storage (S3 API) | Added from the project page | S3_ENDPOINT, S3_BUCKET, keys |
| Qdrant, Chroma | Their client libraries | QDRANT_URL, CHROMA_URL |
One-click apps
New project offers WordPress, Ghost, n8n, PocketBase, Umami and Uptime Kuma, each with its own database. The project page shows the login and the address. Custom domains work as for any app.
Custom domains
On the project's Domains card, add a domain. You receive two DNS records: a CNAME (subdomain) or A record (bare domain) that points it to nocodeloft, and a TXT record that proves the domain is yours. Check DNS activates it once both are in place; HTTPS follows within a minute. Custom domains are included in the Starter and Pro plans.
Outside database access
The database is private by default. To connect your own tools, open Connection details and choose Turn on outside access. You receive an address such as postgres://…@yourapp.nocodeloft.app:5432/app?sslmode=require.
- Connections are encrypted only; use
sslmode=require. - Optionally limit access to a list of IP addresses (Add my address).
- Turn off closes it at once. Change password gives the database a new password and restarts the apps with it.
Backups and your data
Every database and add-on is backed up each night, encrypted, to a separate server. Backups cannot be deleted for 30 days. To restore: project page → Backups → Restore next to a date. The current data is kept as a copy.
Download your data on the project page gives the code of the live version as a ZIP and the database as a standard .sql.gz dump.
Fixing common errors
When a deploy fails, your live app keeps running and the dashboard shows one of these messages. Logs on the project page shows what the app printed.
We could not read your upload
Upload a .zip of the project folder (the one with package.json or requirements.txt). If you uploaded a zip of a zip, unzip it once first.
We could not work out how to build this service
Check that the service's folder has a package.json with a build or start script (Node) or a requirements.txt (Python). The build log below shows what was found.
The build failed
Your app did not compile or install. The last lines of the build log usually name the problem. Paste them into your AI assistant and ask it to fix the build.
Installing your dependencies failed
A package could not be installed, often because of conflicting versions. Paste the log lines into your AI assistant and ask it to fix package.json, then upload again.
The build took too long
Builds stop after 15 minutes. Check for a build step that waits forever (a dev server or a watch mode in the build script).
The built app could not be stored
This is on our side. Press Deploy again; if it keeps happening, contact support.
Your database did not start
This is on our side, and your live app was not changed. Press Deploy again in a minute.
An add-on did not start
Your app uses Redis or MySQL, and the project's copy did not start. This is on our side, and your live app was not changed. Press Deploy again in a minute.
Your database migration failed
The migration step stopped with an error, so the new version was not started and your live app keeps running. The log below shows the error; paste it into your AI assistant and ask it to fix the migration.
Your app keeps crashing after it starts
It starts, then stops with an error, again and again. The most common causes: a missing environment variable (add it under Environment variables on the project page) or code that only works on your computer. Open Logs on the project page to see the error.
Your app could not be started
The message below says why. If it mentions a command or a file, check the start script in package.json.
Your app started but never answered
Your app must listen on the port in the PORT environment variable. Ask your AI assistant: "Make the server listen on process.env.PORT" (or os.environ["PORT"] in Python).
The server running your app stopped responding
This is on our side, and your live app was not changed. Press Deploy again in a few minutes.
No server was available to run your app
This is on our side. Press Deploy again in a few minutes.
There was nothing to start
No service was built from your upload. Check that the plan shows at least one service before you deploy.
The deploy was cancelled
Nothing was changed. Press Deploy when you are ready.