Skip to content
/ Configuration

Documentation

Configuration

Viper-based configuration for your application.

Generated projects use Viper for configuration. Configuration code lives in the config directory and is loaded once at startup in cmd/api.

Logging is handled by Zerolog, and the server shuts down gracefully, finishing in-flight requests before it exits.

The exact keys depend on the framework and database you choose when creating a project. Open the generated files in config for the authoritative list.