Develop & Deploy to Publish

Updated

Sketchflow.ai supports full-stack development capabilities including code generation, third-party integrations, secure environment variable management and automated pre-deployment testing.

In Code Workspace, you'll manage the complete full-stack development process—from integrations and environment configuration to testing and deployment.


Development: Full-Stack Code Generation

Near the Design panel, click the [Code] button in the top bar to open the code workspace.

Generate code for multiple platforms to continue developing your product here. Whether you're a developer or a non-technical user, Sketchflow helps you build, customize, and deploy your application with confidence.

1. Choose Formats for Frontend and Backend Code

After modifying designs, before clicking the [Generate code] button, please select your frontend and backend frameworks. AI will generate frontend and backend code based on your selected frameworks.

Generate Code by Project Type

For Web App

You can choose Vue.js or React.js as your frontend framework, and NestJS or Spring as your backend framework.

For Mobile/Tablet App

You can select the frontend platform between Android (Kotlin) and iOS (Swift), backend framework between NestJS and Spring.

2. Transform Your Apps into Code with Visualization

When you click the [Generate code] button, Sketchflow instantly transforms your app into code.

  • Auto Error fixes

Sketchflow's code generator will check for syntax errors or type issues during compilation, then automatically fix and rebuild the corresponding code.

  • Browse Code Files

The generated code can be reviewed on the code panel, you can also click on the left sidebar to browse the code files by folder.

Quickly search for particular files, enter a file or component name in [Search].


3. Switch Between Frontend and Backend Codebases to Review

When app code is ready, you can switch between frontend and backend code either in both web and mobile/tablet projects.

Click on the [Server repository] dropdown button in the mobile project Code Workspace, and switch between the Backend repository and iOS/Android repository to review separate codebases.

In Web projects, click on the same button to switch between Backend repository and Frontend repository. Separate code repositories make it easier to manage and review frontend and backend code independently.


Deployment Guide

Generating full-stack code is only the first step in building a production-ready application. To make your app fully functional, it needs to securely connect with external services, databases, and deployment environments.

No complex configuration required. Sketchflow.ai provides pre-configured environment settings and integration workflows, allowing you to add your credentials and get a ready-to-launch app instantly.

1. Third-Party Services Integration

Sketchflow.ai supports third-party integrations both before and after code generation, modify the configuration whenever needed.

Notice: The third-party integration is optional, it depends on your application capabilities.

Before Code Generation

Right before clicking the [Generate code] button, configure the external services if needed.

Upload any relevant documents, reference images, TXT or Excel files. AI will automatically analyze the code structure based on your instructions.

If you don’t have any existing reference materials for the service you want to build, simply describe your requirements in the chat box, and AI will generate the corresponding code for you.

2. Environment Variable Configuration

Sketchflow.ai automatically creates the configuration scaffolding required for your app, simply provide your credentials, and the required connections are set up for your application.

Click the [Environment variables] button in the upper-right corner, or click [Configure] in the AI Assistant to review the generated environment variables. AI analyzes your project requirements and feature scope, automatically generating these ready-to-fill placeholders.

If you don't know how to get the variables required for Sketchflow deployment, please read the detailed step-by-step external services configuration guide.

3. Automated Pre-Deployment Testing

Once you've finished configuring the external services, click [Submit and start test]. Sketchflow will run the automated pre-deployment testing for your app:

Let Sketchflow automatically test your data flows, backend logic, and integrations to catch issues early and a stable deployment. No manual checks required — the entire process is automated, with test results delivered quickly in AI Assistant.

If validation errors are detected, Sketchflow will automatically fix the code and re-run the tests until all validations pass.

4. Git Clone & Offline Code Synchronization

The Git Clone command is available in Sketchflow. Simply click [Clone] to copy the command and run it in your terminal to download the repository and continue development.

You can edit the repository code offline. Once finished, push your changes back to the platform.

Simply run git push in the terminal, and Sketchflow will automatically sync your offline changes and update the online project.


Review and Publish Your App

1. Customize Your Subdomain

Click the [Publish Server] button to launch your app.

Customize your app's subdomain by editing the default domain name. If everything is ready to launch, click the [Republish] button to make your app live.

2. Publish and Share Your App

Once your app is published, share it with others or showcase it on social media using your app's unique link. Congratulations on launching your app with Sketchflow.ai!


With Sketchflow.ai, you can seamlessly move from generated code to a production-ready application. From managing integrations and configurations to validating functionality and deploying with confidence, every step of the development workflow is streamlined in one place.