Note: This is a demo site for practice purposes only and should not be deployed in a production environment. This is a simple website built with Rails, demonstrating Webauthn.
Make sure that:
- Ruby version 3.2.2
- Rails 7.0.8 or above
- Clone this repo to your local machine.
git clone git@github.com:shiangogo/webauthn_rails.git- Nevigate to the project directory.
cd webauthn_rails- Install dependencies
bundle- Set up the database. It's just a simple demo site, so I chose sqlite3.
rails db:create
rails db:migrate- Start the Rails server.
rails s- Then, open your browser and visit
http://localhost:3000to see the website.