Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

Shivam-Batham
Copy link

@Shivam-Batham Shivam-Batham commented Sep 12, 2025

fix #5

  • ensure best practices with the use of env and other underlying services by the framework
  • name it as with-nextjs
  • use prettier as done in https://github.com/polarsource/examples/tree/main/export-all-customers-to-csv
  • install the latest version of Polar, shadcn/ui and Next.js
  • maintain seperate API routes for each, Webhooks handler, Customer Portal handler and Checkout handler
  • add an optional build-time script that validates if the access token used is valid for creating a checkout session in the relevant Polar mode (sandbox/production)
  • create an installation guide like as in https://github.com/neondatabase/examples/tree/main/with-nestjs
  • create the .env.example with the comments to the guides links of where the values can be obtained from
  • share the deployed application to Vercel with the recording of all the 3 functionalities working

Copy link

vercel bot commented Sep 12, 2025

@Shivam-Batham is attempting to deploy a commit to the polar-sh Team on Vercel.

A member of the Team first needs to authorize it.

@rishi-raj-jain
Copy link
Member

@Shivam-Batham can you please update the checkboxes with all that you have done? also, can you please follow each step and make sure you share the output URL with us?

@rishi-raj-jain rishi-raj-jain changed the title Next.js example with Webhooks, Customer Portal and Checkout creation feat: Next.js example with Webhooks, Customer Portal and Checkout creation Sep 12, 2025
@Shivam-Batham
Copy link
Author

Shivam-Batham commented Sep 15, 2025

@rishi-raj-jain all changes are made into PR.
Please review.

@rishi-raj-jain
Copy link
Member

Please make sure to deploy the application to the latest + think like a new user who is trying out the repository from scratch!

@Shivam-Batham
Copy link
Author

Shivam-Batham commented Sep 15, 2025

Please make sure to deploy the application to the latest + think like a new user who is trying out the repository from scratch!

As this is my 1st OS contributions, But I learn so much in this.
Please Tell me the further process for claiming the bounty.
Thanks you so much.
Deployed Link - https://examples-beige-six.vercel.app/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Next.js example with Webhooks, Customer Portal and Checkout creation
2 participants