most of the code is taken from github repo of youtuber web dev simplified
😁😁😁
This app is build to try the stripe payment api
how to start app-
- create .env file
- add follwing things to .env:
PORT={port here} (e.g. 8080)
STRIPE_PUBLIC_KEY={ your public stripe api key}
STRIPE_PRIVATE_KEY={ your public stripe api key}
- adjust uri in store.js on line 235 accordingly
- npm start to start the app
you can buy items from the store
test card number details are -
card number - 4242 4242 4242 4242
expiry date - enter any future date
cvv - any number
🎉