- This repository has the code to support a React FrontEnd, a Node/Express BackEnd, and Stripe integration.
.
- In your terminal, navigate to the
apidirectory. - Run
npm installto install all dependencies. - Run
npm startto start the app. - Navigate to http://localhost:9000/orders and verify you see an empty array.
- In another terminal, navigate to the
clientdirectory. - Run
npm installto install all dependencies. - Run
npm startto start the app - Navigate to http://localhost:3000 and verify you see a scaffold web app.
- With client and api running, open your browser to http://localhost:3000/.
- Select a book, fill in payment info (using one of the test cards at https://stripe.com/docs/payments/accept-a-payment?integration=elements), click Confirm Order.
- Enjoy!