coryhouse / coryhouse/react-restaurant-scriptpro

Build checkout route + CheckoutForm orchestrator with empty-cart guard

Open
#40 0 comments 0 reactions 0 assignees View on GitHub
enhancement phase-9-checkout
Dominant language
TypeScript
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

## Goal
Add a `/checkout` route with a `CheckoutForm` orchestrator that composes the customer info, shipping address, and order summary sections. If the cart is empty, redirect or show an empty-cart guard.

## Acceptance criteria
- [ ] `/checkout` route exists
- [ ] `CheckoutForm` composes section components
- [ ] Empty-cart guard sends the user back to `/cart` or `/menu`
- [ ] Form layout works at narrow and wide widths

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.