Documentation

Welcome to Haayc AI, the production-ready AI app builder. Build, deploy, and scale full-stack applications with the power of AI.

Quick Start

  1. 1Sign Up: Create an account to get started.
  2. 2Create a Project: Describe your idea in the chat (e.g., "Build a kanban board with React and Supabase").
  3. 3Iterate: Chat with the AI to refine your app, add features, and fix bugs.
  4. 4Preview: See your changes instantly in the live preview.

Core Features

Full-Stack Generation

Create frontend and backend code in one go using modern frameworks.

Live Preview

Real-time interactive preview of your application as you build.

Self-Healing

The AI automatically detects and fixes build errors.

Cloud Sandboxes

Every project runs in a secure, isolated E2B sandbox.

Tier 1: One-Click Hosting

Deploy your application to production with a single click. We handle the infrastructure so you can focus on building.

  • Frontend: Automatically deployed to Cloudflare Pages for global low-latency access.
  • Backend: Managed PostgreSQL database provisioned via Neon.
  • Secrets: Environment variables are securely encrypted and injected during deployment.

To deploy, simply click the Deploy button in the top header and select Deploy to Cloud.

Tier 2: Export & Eject

We believe in zero vendor lock-in. You own your code.

  • Download ZIP: Get a complete archive of your project files.
  • Docker Support: Includes a `Dockerfile` and `docker-compose.yml` for easy containerization.
  • Git Integration: Push your code directly to GitHub or GitLab.

Self-Hosting

Haayc AI is open source! You can run it locally on your own machine.

# Clone the repository
git clone https://github.com/stackblitz-labs/haayc-ai.git
# Install dependencies
pnpm install
# Run locally
pnpm run dev

Check the GitHub README for detailed requirements and Docker instructions.

Environment Variables

Manage secrets and configuration via the `.env` file. The platform automatically encrypts these values and makes them available to your application at runtime.

Database Access

Your projects come with a dedicated PostgreSQL database. You can connect to it using standard tools or ORMs like Prisma.