Docs/Best Practices

Best Practices

  • Initialize Early: Call defineEnv at the very top of your application entry point.
  • Use Defaults Wisely: Only use defaults for non-critical variables like log levels or ports.
  • Meaningful Errors: Use custom validation messages to help your team fix environment issues quickly.