This repository contains a Backend API (NestJS) and a Mobile App (React Native + Expo) implementing a 7-step credit card checkout integrating with Wompi Sandbox.
git clone https://github.com/CarlosAlbertoR/PaymentCheckout
cd PaymentCheckout.
├── backend/ # NestJS + TypeORM + Jest
└── mobile/ # React Native (Expo) + Redux Toolkit + Jest
- Node.js LTS (18/20)
- Docker (optional but recommended for backend)
- Android Studio / Xcode for running the mobile app
See backend/README.md for full details.
Quick start with Docker Compose (from repo root):
cp backend/env.sample backend/.env
docker compose up -d
# Run DB migrations
docker compose exec backend npm run migration:runAPI available at http://localhost:3000.
See mobile/README.md for full details.
Quick start:
cd mobile
npm install
# Optional: set an API URL reachable by device/emulator
# echo EXPO_PUBLIC_API_URL=http://YOUR_LOCAL_IP:3000 > .env
npm run start- Backend (inside
backend/):
npm test
npm run test:cov- Mobile (inside
mobile/):
npm test
npm run test:cov- Backend: copy
backend/env.sampleto.envand adjust DB + Wompi Sandbox keys. - Mobile: set
EXPO_PUBLIC_API_URL(public) to point to backend from your device/emulator.
MIT