Build and Deploy Steps
1. Clone and Initial Setup
# Clone the repository
git clone git@github.com:PSMRI/ubi-wallet-ui.git
cd ubi-wallet-ui
# Install dependencies
npm install
# Set up Git hooks (Husky)
npm run prepare
git config core.hooksPath .husky/_
chmod +x .husky/pre-commit
chmod +x .husky/commit-msg2. Environment Variables Configuration
# Wallet backend URL
WALLET_APP_API_URL="http://localhost:3018"
# URL of beneficiary app - i.e, the app that will load the wallet app in an iframe
REACT_APP_PARENT_APP_ALLOWED_ORIGIN="http://localhost:5173"Notes
3. Production Build
4. Build Output
5. Deployment Options
Last updated
