Example of using Passwordless & JWT tokens in a Phoenix Application
##Running:
- Ensure Elixir is installed
- Ensure docker is installed
- run
docker-compose up -d
to start the database - mix ecto.create
- mix ecto.migrate
- mix espec
Will need to fill out the following in prod.secrets
config :auth, Auth.Endpoint,
secret_key_base: # Use value created with mix phoenix.gen.secret.
config :auth, mailgun_domain: System.get_env("MAILGUN_DOMAIN"), mailgun_key: System.get_env("MAILGUN_API_KEY")
config :guardian, Guardian,
secret_key: # Use value created with mix phoenix.gen.secret.