# Web Backend - Default Configuration
# HTTP server and web form rendering

[server]
host = "localhost"
port = 3000
# CORS settings
cors_enabled = true
cors_origins = ["localhost", "127.0.0.1"]

[form]
description = "Interactive web form"
title = "Web Form"

  [form.validation]
  client_validation = true
  show_errors_inline = true
  validate_on_change = true

[output]
format = "json"

[html]
# CSS framework: bootstrap, tailwind, none
css_framework = "none"
# Include inline styles
inline_styles = false
# Mobile responsive
responsive = true
# Dark mode support
dark_mode = true

[submission]
# Submission method: post, put, patch
method = "post"
# Optional webhook URL for submissions
webhook_url = ""
# Redirect after submission
redirect_on_success = false
redirect_url = ""

[security]
# CSRF protection
csrf_enabled = true
# Rate limiting (requests per minute)
rate_limit = 0
# Require HTTPS
require_https = false
