| Action | Files | Exports |
|---|---|---|
| Create | src/modules/checkout/checkout.component.js | {Checkout} |
| Create | src/modules/checkout/components/review.component.js | {Review} |
| Create | src/modules/checkout/components/addressForm.component.js | {AddressForm} |
| Create | src/modules/checkout/components/paymentForm.component.js | {PaymentForm} |
| Modify | src/App.js | {App} |
| Modify | src/pages/checkout.page.js | {CheckoutPage} |
Let's create the checkout module !
We need a Checkout page that needs a logged in user. So we also need a Login page. We'll mock the user api and authentication process for now. We need to bo redirected to the login page on some routes, not all.