Latest iteration of e-commerce app to integrate with Stripe Payment.
- React 19 + TypeScript
- Tailwind CSS v4 with Tailwind Variants
- React Router
- TanStack Query
- Node.js + Express 5
- MongoDB
- Zod
- Helmet
- CORS
- Stripe Checkout
-
Click Fork on GitHub
-
Clone your fork:
git clone https://github.com/<your-username>/react-store.git
The project has two parts, each with its own dependencies: client/ (React) and server/ (Express API). There is no package.json at the repo root.
- Copy each example environment file and fill in the values. You'll need a MongoDB database and a Stripe secret key.
cp react-store/server/.env.example react-store/server/.env
cp react-store/client/.env.example react-store/client/.env
- Install and start the server:
cd react-store/server
pnpm install
pnpm dev
- In a second terminal, install and start the client:
cd react-store/client
pnpm install
pnpm dev