upleveled / connecting-to-external-apis-stripe-jan-2022

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Demo APP stripe checkout flow with next.js

This app is an exercise of a checkout flow with stripe on next.js.

On this branch you can see the starting code for the exercise.

Setup steps

  • Create an account and get keys from stripe
  • Keys are under Home -> get your api keys
  • Clone this repo
    $ git clone https://github.com/upleveled/connecting-to-external-apis-stripe-jan-2022.git
  • Make sure you are on the starting-point branch
  • Install dependencies
    $ yarn
  • Create your .env.local file from the .env.local.example file on the project
  • Add your keys

Happy coding!

Stripe

api links

Test card numbers:

Next.js docs

About


Languages

Language:JavaScript 100.0%