name = "hyperdrive-neondb-test"
main = "src/index.ts"
compatibility_date = "2025-02-04"

# Add nodejs_compat compatibility flag to support common database drivers
compatibility_flags = ["nodejs_compat"]

[observability]
enabled = true

# Hyperdrive configuration for NeonDB
[[hyperdrive]]
binding = "HYPERDRIVE"
id = "ef43924d89064cddabfaccf06aadfab6"
# For local development, use a local PostgreSQL connection
localConnectionString = "postgresql://postgres:password@localhost:5432/testdb"
