Installs and configures polar_express in a Phoenix application.
$ mix polar_express.install
This installer:
- Adds Polar API key config to
config/dev.exs(sandbox environment) - Adds runtime config with env vars to
config/runtime.exs(production) - Adds
PolarExpress.WebhookPlugto the Phoenix endpoint (beforePlug.Parsers) - Scaffolds a
PolarWebhookControllerwith event handler skeleton for Polar events - Adds the webhook route to the router
- Shows next steps and configuration guidance