Skip to content

A demo Phoenix application with passwordless authentication

Notifications You must be signed in to change notification settings

liveshowy/webauthn_components_demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WebauthnComponents Demo

This repo is a reference implementation of the :webauthn_components package on Hex.pm.

Resources

Getting Started

If Erlang, Elixir, and Postgres are installed as OS dependencies, you may skip to Phoenix Server to get the application up and running. If you encounter Postgres connection errors, you may need to update the repo credentials in ./config.

Development Container

For your convenience, a development container is provided in ./.devcontainer.

VS Code developers may use the Remote Containers extension to quickly launch the development environment. When using VS Code, mix deps.get & mix ecto.setup will be run automatically after the container is up and running.

Developers using any other IDE may also start containers using Docker Compose (docs).

Phoenix Server

To start your Phoenix server:

  • 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 with iex -S mix phx.server

Now you can visit localhost:4000 from your browser.

Ready to run in production? Please check our deployment guides.

Learn more

About

A demo Phoenix application with passwordless authentication

Resources

Stars

Watchers

Forks

Packages

No packages published