Visual decisions made easy
© 2022 Pete Davis
- Node.js LTS
- Create an ngrok account, install ngrok, and get a free static forwarding URL.
- Copy the
.env.example
file to.env
and fill in the values.
npm install
npm run dev
npm run ngrok
Copy the ngrok Forwarding URL and add it to polar sandbox webhooks with the path /api/polar/order
and all the order events selected.
Also edit the vite.server.allowedHosts
in nuxt.config.ts
to include the ngrok Forwarding URL, minus the https://
TODO: move to .env