A full-stack eCommerce web application built using React, TypeScript, Tailwind CSS, and Express.js, featuring Stripe Checkout for secure payments.
root/
āāā client/ # React frontend
ā āāā src/
ā ā āāā components/
ā ā āāā pages/
ā ā āāā ProductPage.tsx
ā ā āāā ProductCart.tsx
ā ā āāā CheckoutPage.tsx
ā ā āāā main.tsx
ā āāā tailwind.config.js
āāā server/ # Express backend
ā āāā index.js
ā āāā .env
āāā README.md
git clone https://github.com/your-username/react-stripe-shop.git
cd react-stripe-shop
cd server
npm install
STRIPE_SECRET_KEY=your_secret_key_here
node index.js
cd ../client
npm install
VITE_REACT_PUB_KEY=your_publishable_key_here
npm run dev
Card: 4242 4242 4242 4242
Exp: Any future date
CVC: Any 3 digits
Zip: Any 5 digits