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.
- 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!