AI app builder with a backend: sign in, database and server functions
· 9 min read
Yes, an AI app builder can make the backend too, and the AppForShare AI App Builder does. When your app needs people to sign in and save things, such as bookings, orders, posts or class places, the builder writes a managed backend from the same brief as the screens: the tables, sign in, roles, file uploads and the rules for who may see and change what. You read it and change it in plain words, try it on sample data on every plan, and run it live on our servers on Pro and Team.
This guide explains how the backend is made, what it can hold, how it runs once it is live, and how to take it with you to your own server.
Why most apps need a backend
An app that only shows fixed text and pictures does little that a web page cannot. Most apps people keep on their phone remember something for them:
- A booking app keeps classes, time slots and who booked which place.
- A shop keeps products, carts and orders, and lets staff mark an order as sent.
- A community app keeps accounts, posts and comments, and lets each person change only their own.
All of that lives on a server, behind a sign in, with rules that decide who may read and write each entry. Building that by hand means a database, an API, authentication, file storage and hosting before the first screen works. The builder gives a working version of all of it from a few plain sentences.
How the builder makes the backend
There are two ways to start. In the brief, tick People sign in and save things in the app, and the design step writes the backend together with the screens at no extra credit cost. Or open an app that already has a design: the Backend card sits below it. Pick a starting point under Start from (booking, shop, directory, community, events, food ordering, courses or membership), or write what the app saves and who may do what, and click Make the backend.
The AI does not write server code for this part. It writes a description of the backend, and our own runtime serves it. Every change to that description is checked before it is saved:
- Nobody writes anything without signing in.
- Every table has an owner or a role that decides who changes it.
- A change that would delete saved data asks you first and takes a backup.
You never see the JSON. The card shows each table with its fields and, per table, who may see, add, change and delete entries, as plain sentences. To change it, write what should change, for example "ask for a phone number on bookings", and click Change the backend. In the Changes chat, one request can change the backend and the screens together.
What a backend can hold
| Part | What you can ask for |
|---|---|
| Tables and fields | Text, numbers, dates, choices, yes or no, email, phone, web addresses, files and links to entries of another table; required, unique and private fields |
| Sign in | A 6 digit email code, Google and Apple, roles such as staff, and invite only apps |
| Rules | Who may read, add, change and delete in each table: everyone, any signed in user, the person who added the entry, or a role |
| Plain logic | Status flows such as pending, approved and done, and limits such as "a class is full at 20 bookings" |
| Files | Image, PDF, video and audio uploads with their own rules and size limits |
| Server functions | Small functions that run on a schedule, when an entry changes, or when the app calls them |
| Webhooks | New, changed or deleted entries sent to an address of yours, signed with a secret |
Server functions are the one place the AI writes code, for the cases rules cannot cover, such as a reminder the day before a booking. Each function runs in its own sandbox with a time and memory limit, sees only the data of its own app, and can reach only the web addresses listed for it.
Try it on sample data, then go live
The browser preview runs the backend on sample entries inside your browser, on every plan with an account. You can sign in, fill a form and see it in a list before anything touches a server.
On Pro and Team, click Go live. The card shows the address of the backend, an app key that is safe to ship inside the app, and a secret key once. The code you download from then on, and the builds you make from it, talk to the live backend, while the preview keeps its sample data. Email codes work at once; for Google and Apple sign in you add their client ids per platform, and each button shows in the app only once its id is set.
How many live backends each plan includes, and the data, file and traffic limits of each one, are on the pricing page, read from the same plan file the app uses. When a backend reaches a limit, the app keeps running and everything saved can still be read. New entries and uploads stop until there is room again, and the account owner gets one email about it. Nothing is billed on its own. For more room, backend add-ons on Pro and Team add one more live backend or double the limits of one.
Store rules built in
Apple and Google ask apps with accounts for a few things, and the builder adds them for you:
- Delete account. Apps with sign in get a Delete account screen, and the checks of every version look for it.
- Sign in with Apple. When an app offers Google sign in, it offers Sign in with Apple as well.
- Privacy policy. The backend makes a privacy policy page from what the app saves.
- Store privacy forms. Store privacy answers lists what to fill in on the Google Play data safety form and the App Store privacy labels.
Running the live backend
Under Data and users you see the newest entries of each table and add, edit or delete them, so the app owner runs the shop or the class list without code. Users lists the people who signed in: give them a role, turn an account off, or add an email address for an invite only app. Automation runs shows the last runs of the server functions with their log lines.
Every live backend is backed up each day, and also before any change that deletes saved data. Under Backups and export you download a backup, or all entries, users and the file list as JSON or CSV.
Take the backend with you
The backend is yours on every plan, Free too. Download backend code gives a NestJS, Prisma and Postgres project with migrations, sample data, Docker files, Swagger, a Postman collection, the privacy page and a deploy guide for your own server, Railway, Render or Fly.io. It answers on the same paths as our runtime, so the app moves over by changing one address. The app code download carries it in a backend folder as well.
The full flow, from an idea to the stores
The backend is one step in a longer path. Here is how the pieces fit:
- Describe the app. A short brief: what it is, who it is for, what people do in it, and the look you want.
- Design the screens. The AI draws the design as real screens in the browser. Comment on them, ask for revisions, and send your client an approval link.
- Hand the design to your designers. Every plan with an account exports the screens to Figma as SVG with editable text, with a tokens.json in the W3C Design Tokens format, and on Pro and Team the AppForShare plugin for Figma builds auto layout frames with color and text styles. The guide to exporting an AI app design to Figma shows each way, and the Figma export docs list the steps.
- Add the backend for sign in and saved data, as described above, and generate the Android and iOS app or the web app.
- Ship it. Download the code, build it with Expo EAS or your own pipeline, and share the test builds with AppForShare install links. On Pro and Team, an uploaded build can be sent on to TestFlight or a Google Play testing track from the build page.
The guide to the AI app builder for Android and iOS walks through the design and generation steps in more detail.
From the terminal or an AI assistant
The appforshare CLI has appforshare builder backend followed by the app id, with commands to show the backend, ask for a change in plain words, make changes live and save the code, the data or a backup. The MCP server offers the same as tools for Claude, Cursor and other AI assistants.
Common questions
Do I need to know databases or write code?
No. You describe what the app saves and who may do what, and the builder shows the result as plain sentences. A developer can still open the exported project whenever you want one to.
Can I try the backend on the Free plan?
Yes. Designing the backend, the preview with sample data and the backend code download are on every plan with an account. Running it live on our servers is on Pro and Team.
Does the AI write code that runs on your servers?
Tables, sign in and rules are a checked description that our runtime serves. The only backend code the AI writes is small server functions, and each runs in a sandbox with time and memory limits.
What does it cost in credits?
A backend made together with the design costs no extra credits. Making one on its own or changing it from the Backend card uses builder credits, shown before you press the button, and a step that fails gives its credits back.
Can I move my data later?
Yes. Download all entries as JSON or CSV at any time, and download the backend code to run it on your own server with your own Postgres database.
Try it with your own app
Create a free account, open App builder in the dashboard and write a short brief with People sign in and save things in the app ticked. The managed backend docs have every step in one place.


