Reading the repo
Opening the box…
Reading the repo
Opening the box…
Assembly instructions
A self-hosted UPI & COD payment gateway with zero per-transaction platform fees, universal JavaScript checkout integration, dynamic QR payments, WhatsApp OTP authentication, and automated payment verification.
Saved setup from just now
Will it work on macOS?
Heads-upBuilding it yourself? It also needs 34 settings in .env (2 secret).
docs/INSTALLATION.mdYOUPI PG is distributed as source code and is engineered to run directly as native host processes on standard Linux (Ubuntu, Debian, RHEL, CentOS) and Windows 10/11 environments.
Zero Docker Requirement: Docker, Docker Compose, and external container engines are completely optional and not required. Standard npm install works out-of-the-box across all workspace packages.
node -v) for native node:sqlite (DatabaseSync Release Candidate with defensive mode) and essential protection against October 2026 security CVEs (CVE-2026-111497, CVE-2026-105482, CVE-2026-105483).Thanks to Zero-Config Database Auto-Provisioning, YOUPI PG automatically creates data/youpi_pg.sqlite and executes idempotent schema migrations and default seeds on first launch:
# 1. Clone repository
git clone <your-repository-url> youpi-pg
cd youpi-pg
# 2. Install dependencies (Standard NPM out-of-the-box)
npm install
# 3. Configure environment
cp .env.example .env
# 4. Start all services
npm start
# or for live development:
npm run dev
# 1. Update system packages
sudo apt update && sudo apt upgrade -y
# 2. Install Node.js 24 LTS & Git
curl -fsSL https://deb.nodesource.com/setup_24.x | sudo -E bash -
sudo apt install -y nodejs git
# 3. Clone and enter repository
git clone <your-repository-url> youpi-pg
cd youpi-pg
# 4. Install dependencies
npm install
# 5. Configure environment
cp .env.example .env
nano .env
# 6. Start production cluster (SQLite auto-initializes on boot)
npm start
# 1. Verify Node.js (>= v24.22.1 LTS)
node -v
# 2. Install dependencies
npm install
# 3. Configure environment
Copy-Item .env.example .env
# 4. Start services (Zero-config auto-initialization)
npm run dev
Navigate to http://localhost:8090 to access the Control Center supervisor and verify all running services.
Then run bash setup.sh. It stops at the first error and is safe to run again. Servers and tests aren't started; it lists them at the end. Read it first.
Needs Git: xcode-select --install
git clone https://github.com/youpi-pg/YouPI-PG.git cd YouPI-PG
Node.js >=24.22.1
# needs nvm: brew install nvm (or https://github.com/nvm-sh/nvm) nvm install --lts
Fill in secrets: GMAIL_CLIENT_SECRET, ANDROID_ENROLLMENT_SECRET
cp .env.example .env
npm ci
npm run dev
npm test
>= 22.13.0 LTS (Recommended: Node 24 LTS, node -v) for native node:sqlite (DatabaseSync) engine.
node:sqlite was added in Node 22.5.0 but only unflagged in 22.13.0, so 22.5.0–22.12.x cannot run this project without --experimental-sqlite.Note: Containerisation is not included in this repository yet — there is no
Dockerfileordocker-compose.yml. Run the services on a native Node.js host as described below.
Standard npm install works out-of-the-box across all packages and apps without any protocol issues:
git clone https://github.com/youpi-pg/YouPI-PG.git youpi-pg
cd youpi-pg
npm install
cp .env.example .env
(The default .env is pre-configured for localhost out of the box).
On first launch, YOUPI PG automatically provisions data/youpi_pg.sqlite, creates the directory if missing, and executes idempotent migrations and baseline seeds. No manual database setup is required:
npm run dev
# or
npm start
The services can then be accessed at the following local addresses:
http://localhost:8090http://localhost:6001http://localhost:5000http://localhost:6100http://localhost:7000Run the curated test suites across packages, apps, and chaos harnesses, including observed-payment handling, statement reconciliation, and durable webhook delivery:
npm test
============================================================
YOUPI PG V2 — FULL REGRESSION TEST RUNNER
Running 31 curated test suites...
============================================================
[1/31] Testing packages/common/src/__tests__/common.test.js... PASS (0.22s)
...
[31/31] Testing scripts/production-infrastructure.test.js... PASS (0.17s)
============================================================
ALL 31 TEST SUITES PASSED CLEANLY (Total: 17.68s)
============================================================
<br/>
No reports for macOS yet.
GitManual AI Agent reads the 12 key files and writes a step-by-step guide for macOS. Once written, it's saved for everyone.