# Web Backend - Development Configuration
# Enhanced features for development

[server]
host = "0.0.0.0"
port = 3000
# Enable hot reload
hot_reload = true
# Debug mode
debug = true

[form]
description = "Development web form"
title = "Web Form (Dev)"

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

[output]
format = "json"

[html]
css_framework = "none"
dark_mode = true
inline_styles = true
responsive = true
# Show field metadata
show_field_metadata = true

[submission]
log_submissions = true
method = "post"
redirect_on_success = false
webhook_url = "http://localhost:8000/webhook"

[security]
csrf_enabled = true
rate_limit = 0
require_https = false

[logging]
file = "/tmp/typedialog-web.log"
level = "debug"

[api]
# API documentation enabled
docs_path = "/docs"
enable_docs = true
