This is a sample app to demonstrate the use of authentication functionality in phoenix, the following workflows are available:
- Sign-up
- Login
- Forgot Password
If you want to run this locally do:
- Install dependencies with
mix deps.get
- Create and migrate your database with
mix ecto.setup
- Start Phoenix endpoint with
mix phx.server
or inside IEx withiex -S mix phx.server
Now you can visit localhost:4000
from your browser.
From root route /
you'll see several links, or you can use the following links
This app uses a local dev mailbox, in order to access it you can use this route in you browser Local Mail
https://hexdocs.pm/phoenix/mix_phx_gen_auth.html
You can run the tests with mix test
, the current coverage is 97.1 you can run the coverage tool with MIX_ENV=test mix coveralls.html