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 [email protected]: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:https://localhost:3000
to see the website.