An example app of how to use @polar-sh/sdk
with NextJS to add Polar data to your website.
A live demo of this example app is deployed here.
# ch to this directory
cd clients/examples/next-js-example
# Install
pnpm install
# Run
pnpm dev
You can use this directory as the basis for your project (copy-paste this directory!), or copy-paste individual snippets for inspiration.