Setting up development environment for Passkey

Hi, I would like to create my own personal use case to test out the Passkey service. I have downloaded the Shiny app from the Apple website to begin with, but it says you need an associated domain to connect it to your website. I don't have a domain right now and whatever website I build will be run on a local host. Can I use a local host or an ip address as the associated domain, or do I need to purchase a domain to get the passkey up and running?

Setting up development environment for Passkey
 
 
Q