Skip to main content

Export Code

Preview and export your project as standalone source code you can host anywhere. The screen shows exactly which files each target produces before you download anything.

Go to Code in the top navigation bar, then select Export Code from the left rail.

Choose an export target

Select what to export from the Export Target rail:

TargetDescription
BackendAPI, models, and routes — standalone Node.js (Express).
FrontendComponents, pages, and hooks — standalone React (shadcn).

Preview the stack

The Stack panel lists what the selected target generates. These values are synced from your Application settings — change them there, not on this screen.

For the Backend target, the panel lists:

SettingDescription
FrameworkThe backend runtime (for example, NODEJS).
ServerThe server framework (for example, EXPRESS).
ORMThe database layer (for example, SEQUELIZE).
ValidationThe validation library (for example, ZOD).
File UploadThe file-upload provider (for example, SYSTEM).
Enable SwaggerWhether interactive API documentation is generated.
PortThe port the server runs on (for example, 8000).

Beneath the list, the backend preview also shows Database (for example, POSTGRESQL) and Application Type (for example, SINGLE PAGE APPLICATION (SPA)).

Preview the files

Before you export, the right panel shows the exact folder tree the target produces, with live file and folder counts. Expand a folder to see what it contains. Each export builds a fresh copy from your current schema.

Export your project

  1. Select Backend or Frontend as the export target.
  2. Click Export project in the bottom-right corner of the tab.
  3. When the build finishes, open the Downloads panel from the Download icon beside Publish.
warning

During export, code analysis validates your configuration and stops if it finds issues. You can bypass the analysis and export anyway, but the generated code may contain errors. Common issues are missing required field configurations, invalid relationship references, and incomplete collection setup.

Downloads

The Downloads panel lists all generated exports. Each entry shows:

ColumnDescription
Generated ByThe team member who started the export.
Typefrontend or backend.
DateWhen the export was created.
StatusThe current state of the export.
Download LinkDownload the generated files.

Export status values:

StatusDescription
QUEUEDThe export is waiting to be processed.
BUILDINGCode generation is in progress.
GENERATINGFiles are being packaged.
READYThe export is complete and ready to download.
FAILEDThe export encountered an error.

Click Refresh to update the status of pending exports.

Deploy exported code

After downloading, deploy the code to any hosting provider:

  1. Extract the archive.
  2. Run npm install.
  3. Set the environment variables.
  4. Run npm run build.
  5. Deploy to your platform.
note

Generated code is standalone and doesn't require Hyper to run. You own the exported source code.