- Install node
- Run
npm i
- Copy .env.example to .env
- Enter your details in to the .env file
- Run
npm run dev
- Connect to localhost:3000
You will need to do the following to get all providers working:
- Expose your site externally with a real SSL and domain. The simplest way to do this is with ngrok by running
ngrok http 3000
and setting the environment variable BASE_URL to the ngrok address. - Register the Apple Pay certificate by adding the certificate to
public/.well-known/apple-developer-merchantid-domain-association.txt
. You will then need to verify the domain in Apple Pay. - Apple Pay will require iOS or Mac OS. You will need to register an Apple Pay sandbox account and add a sandbox test card https://developer.apple.com/apple-pay/sandbox-testing/.