> ## Documentation Index
> Fetch the complete documentation index at: https://docs.revolte.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Web App

> Configure static frontend applications with CDN and environment mapping.

**Web Apps** represent static frontend applications (React, Vue, Next.js static, etc.) that are served via CDN. Unlike Web Services, these do not require CPU/Memory specifications but focus on CDN and routing properties.

## Configuration

Define your static asset properties and frontend environment variables in `revolte.yaml`.

```yaml revolte.yaml theme={"dark"}
revolte:
  version: "1.0"
  project: Demo-Project
  appName: "demo-app"
  workflow:
    developerWorkflow:
      enabled: true
  env:
    production:
      branch: main
      services:
        rid_1:
          type: WEB_APP
          name: web-app_service
          entryPoint: index.js
          properties:
            indexPage: index.html
            errorPage: index.html
            enableCdn: false
            variables:
              VITE_API_HOST: "#{beBaseURL}"
              VITE_GOOGLE_PLACES_API_KEY: "#{googlePlacesAPIKey}"
```

## Related

* [Web Service Configuration](/yaml/environment-settings/resource-specifications/web-service)
* [Variables & Secrets](/yaml/environment-settings/resource-specifications/variables)
* [YAML Overview](/yaml/overview)
