Docs menuGetting started

DOCS / GETTING STARTED

Configuration

The API takes its configuration from environment variables, which Config::from_env in api/src/config.rs parses and validates once at startup. They are grouped by area with their defaults, followed by the startup checks and the SPA's variables. In development the API also reads .env (via dotenvy): copy .env.example to start.

For optional variables, empty values count as unset, so STRIPE_SECRET_KEY= in a .env file is the same as leaving it out.

[ full guide ]

The rest of this guide comes with the repo.

  • Core
  • Authentication
  • OAuth
  • Billing
  • Email
  • File storage
  • Outbound requests to admin-entered URLs
  • Observability
  • Product analytics
  • AI chat
  • Startup validation
  • Frontend
  • Production templates
Get LaunchCrate