- Node.js 18+ installed
- npm 8+ installed
-
Extract/Clone the project
git clone <repository-url> cd payment-system
-
Install dependencies
npm run install:all
-
Start the system
# Terminal 1 - Backend npm run dev:api # Terminal 2 - Frontend npm run dev:web
-
Access the application
- Open browser: http://localhost:3000
- Backend API: http://localhost:3001
- Create a payment intent with any amount
- Click "Confirm Payment"
- Watch the 5 processing jobs execute in real-time
- View the receipt and try creating a refund
- Port conflicts: Kill processes using
lsof -ti:3001 | xargs kill -9 - Dependencies: Run
npm run install:allagain - Node version: Ensure Node.js 18+ with
node --version
- Backend: Node.js + Express (port 3001)
- Frontend: React + Vite (port 3000)