From d59573a9580f86660e34801d6964decc1b3ec2e0 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 9 Nov 2025 19:24:28 +0000 Subject: [PATCH 1/3] Initial plan From 3d6cfc1044e72554d34344a8db3611cb97b6ae38 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 9 Nov 2025 19:33:46 +0000 Subject: [PATCH 2/3] Add startup script and phase tracking system Co-authored-by: CVSz <4076926+CVSz@users.noreply.github.com> --- .gitignore | 91 +++ PHASE_STATUS.md | 358 ++++++++++ README.md | 33 +- package-lock.json | 31 + server/package-lock.json | 1352 ++++++++++++++++++++++++++++++++++++++ start-all-phases.sh | 576 ++++++++++++++++ 6 files changed, 2440 insertions(+), 1 deletion(-) create mode 100644 .gitignore create mode 100644 PHASE_STATUS.md create mode 100644 package-lock.json create mode 100644 server/package-lock.json create mode 100755 start-all-phases.sh diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..9bc8bd1 --- /dev/null +++ b/.gitignore @@ -0,0 +1,91 @@ +# Dependencies +node_modules/ +.pnp +.pnp.js + +# Testing +coverage/ +*.log + +# Production +build/ +dist/ +out/ + +# Environment Variables +.env +.env.local +.env.development.local +.env.test.local +.env.production.local + +# IDE +.vscode/ +.idea/ +*.swp +*.swo +*~ +.DS_Store + +# Expo +.expo/ +.expo-shared/ + +# Native +*.jks +*.p8 +*.p12 +*.key +*.mobileprovision +*.orig.* +ios/ +android/ + +# Web +.next/ +.cache/ + +# Misc +npm-debug.log* +yarn-debug.log* +yarn-error.log* +.npm + +# Temporary files +tmp/ +temp/ +*.tmp + +# Logs +logs/ +*.log +Logs/ + +# Database +*.db +*.sqlite +*.sqlite3 + +# Compiled +*.com +*.class +*.dll +*.exe +*.o +*.so + +# Package files +*.7z +*.dmg +*.gz +*.iso +*.jar +*.rar +*.tar +*.zip + +# OS generated files +Thumbs.db +ehthumbs.db +Desktop.ini +$RECYCLE.BIN/ diff --git a/PHASE_STATUS.md b/PHASE_STATUS.md new file mode 100644 index 0000000..74f2079 --- /dev/null +++ b/PHASE_STATUS.md @@ -0,0 +1,358 @@ +# 📊 ZeaZDev Phase Status Tracker + +**Last Updated:** 2025-11-09 +**Current Version:** v10.1 +**Developer:** PHIPHAT PHOEMSUK (ZeaZDev) + +--- + +## 📋 Overview + +This document tracks the progress of all development phases for the ZeaZDev platform as defined in [ROADMAP.md](ROADMAP.md). + +--- + +## 🎯 Phase Summary + +| Phase | Quarter | Status | Progress | Start Date | Target Date | +|-------|---------|--------|----------|------------|-------------| +| Phase 1: Foundation | Q1 2025 | ✅ Active | 95% | 2025-01-01 | 2025-03-31 | +| Phase 2: Core Features | Q2 2025 | 🟡 Planned | 0% | 2025-04-01 | 2025-06-30 | +| Phase 3: Advanced Features | Q3 2025 | 🟡 Planned | 0% | 2025-07-01 | 2025-09-30 | +| Phase 4: Enterprise & Scaling | Q4 2025 | 🟡 Planned | 0% | 2025-10-01 | 2025-12-31 | + +**Legend:** +- ✅ Active: Currently in development +- 🟡 Planned: Not yet started +- 🔄 In Progress: Partially completed +- ✔️ Completed: Fully finished +- ⏸️ On Hold: Temporarily paused +- ❌ Cancelled: Not proceeding + +--- + +## 📅 Phase 1: Foundation (Q1 2025) + +**Status:** ✅ Active (95% Complete) +**Timeline:** January - March 2025 + +### 1.1 Smart Contract Development ✅ Complete +- [x] ZeaToken ($ZEA) Contract +- [x] ZeaZToken ($ZEAZ) for Gaming +- [x] WorldIDRewards Contract +- [x] Reward Distribution System +- [x] Unit tests (100% coverage) +- [x] Integration tests +- [ ] External security audit (Scheduled) +- [x] Testnet deployment (Sepolia) + +### 1.2 Backend Infrastructure ✅ Complete +- [x] Verifier Service (World ID proof verification) +- [x] Relayer Service (Gasless transactions) +- [x] Database Architecture (PostgreSQL, Redis, MongoDB) +- [ ] API Gateway (RESTful, GraphQL, WebSocket) +- [ ] Docker containerization +- [ ] Kubernetes orchestration +- [ ] CI/CD pipeline (GitHub Actions) +- [ ] Monitoring (Prometheus + Grafana) + +### 1.3 Frontend Development 🔄 In Progress (80%) +- [x] React Native Mini App (Expo) +- [x] Core Screens (Auth, Wallet, Reward, Swap) +- [ ] Additional Screens (Stake, NFT, Referral, Settings) +- [ ] Web Dashboard (Next.js 14) +- [ ] Component library +- [ ] Dark/Light mode +- [ ] Accessibility (WCAG 2.1 AA) +- [ ] Responsive design + +--- + +## 📅 Phase 2: Core Features (Q2 2025) + +**Status:** 🟡 Planned (0% Complete) +**Timeline:** April - June 2025 + +### 2.1 DeFi Features 💰 +**Timeline:** April - May 2025 + +#### 2.1.1 Staking System +- [ ] ZeaStaking.sol smart contract +- [ ] Flexible staking (withdraw anytime) +- [ ] Fixed staking (30, 90, 180, 365 days) +- [ ] Dynamic APY based on TVL +- [ ] Auto-compounding option +- [ ] Staking UI/UX +- [ ] Portfolio tracking + +#### 2.1.2 Liquidity Pools & Farming +- [ ] ZeaLiquidityPool.sol (AMM) +- [ ] ZeaFarming.sol (Yield farming) +- [ ] Liquidity provision interface +- [ ] Fee distribution (0.3% to LPs) +- [ ] Impermanent loss protection +- [ ] Supported pairs ($ZEA/USDC, $ZEA/ETH, etc.) + +#### 2.1.3 Token Swap (DEX) Enhancement +- [ ] Multi-hop routing for best price +- [ ] Slippage protection +- [ ] Price impact warning +- [ ] Gas estimation +- [ ] Transaction history +- [ ] Integrations (Uniswap V3, PancakeSwap, 1inch) + +### 2.2 Referral Program 🎁 +**Timeline:** May 2025 +- [ ] ZeaReferral.sol smart contract +- [ ] Multi-level referral (3 levels) +- [ ] Unique referral codes +- [ ] Referral dashboard +- [ ] Commission tracking +- [ ] Leaderboard +- [ ] Anti-gaming mechanisms + +### 2.3 NFT Integration 🖼️ +**Timeline:** June 2025 +- [ ] ZeaNFT.sol (ERC-721) +- [ ] ZeaNFTMarketplace.sol +- [ ] NFT minting interface +- [ ] Buy/Sell/Auction functionality +- [ ] Rarity system +- [ ] NFT staking for rewards +- [ ] 3D NFT viewer +- [ ] Collections (Genesis, Achievement Badges, Seasonal) + +### 2.4 Multi-Language Support 🌍 +**Timeline:** June 2025 +- [ ] i18n framework (react-i18next) +- [ ] Language support: EN, TH, CN, JP, KR, ES, FR, DE +- [ ] Language detection +- [ ] Persistent language preference +- [ ] RTL support (Arabic - future) +- [ ] Translation management system + +--- + +## 📅 Phase 3: Advanced Features (Q3 2025) + +**Status:** 🟡 Planned (0% Complete) +**Timeline:** July - September 2025 + +### 3.1 Gaming Integration 🎮 + +#### 3.1.1 Unity SDK +**Timeline:** July 2025 +- [ ] Unity SDK development +- [ ] Wallet integration +- [ ] In-game purchases with $ZEAZ +- [ ] NFT item system +- [ ] Achievement tracking +- [ ] Leaderboard integration +- [ ] Anti-cheat mechanisms + +#### 3.1.2 Game Slots System 🎰 +**Timeline:** August 2025 +- [ ] ZeaGameSlots.sol smart contract +- [ ] Provably fair RNG (Chainlink VRF) +- [ ] Classic Slots (3-reel) +- [ ] Video Slots (5-reel) +- [ ] Mega Slots (Progressive jackpot) +- [ ] Themed Slots (Seasonal events) +- [ ] Auto-play mode +- [ ] VIP levels with benefits + +#### 3.1.3 Achievement & Reward System 🏆 +**Timeline:** September 2025 +- [ ] Trading achievements +- [ ] Staking achievements +- [ ] Gaming achievements +- [ ] Social achievements +- [ ] NFT badges +- [ ] Profile customization + +### 3.2 Real Thai Bank Integration 🏦 +**Timeline:** July - August 2025 +- [ ] ZeaThaiBank.sol smart contract +- [ ] PromptPay API integration +- [ ] Bank Direct API +- [ ] Payment Gateway (2C2P, Omise) +- [ ] KYC/AML verification +- [ ] Thai SEC compliance +- [ ] Deposit (THB → Crypto) +- [ ] Withdrawal (Crypto → THB) +- [ ] Supported banks: K-PLUS, Bangkok Bank, KTB, SCB, TMB + +### 3.3 Buy & Sell Feature 💳 +**Timeline:** August 2025 +- [ ] Credit/Debit Card support (Visa, Mastercard, JCB) +- [ ] Bank Transfer +- [ ] E-Wallets (TrueMoney, Alipay, PayPal) +- [ ] Fiat support: THB, USD, EUR, GBP, JPY +- [ ] Provider integrations (Moonpay, Transak, Ramp, Alchemy Pay) +- [ ] Tier system (Basic, Verified, Premium, VIP) + +### 3.4 Real Card Integration 💳 +**Timeline:** September 2025 +- [ ] Virtual Card (Instant issuance) +- [ ] Physical Card (Premium metal card) +- [ ] Apple Pay / Google Pay +- [ ] Cashback rewards (up to 5%) +- [ ] ATM withdrawal support +- [ ] Freeze/Unfreeze functionality +- [ ] Multi-currency support + +### 3.5 Governance System 🗳️ +**Timeline:** September 2025 +- [ ] ZeaGovernance.sol smart contract +- [ ] Proposal submission +- [ ] Discussion forum +- [ ] Voting (For/Against/Abstain) +- [ ] Delegation +- [ ] Execution automation +- [ ] Veto council (emergency) + +--- + +## 📅 Phase 4: Enterprise & Scaling (Q4 2025) + +**Status:** 🟡 Planned (0% Complete) +**Timeline:** October - December 2025 + +### 4.1 Multi-Platform Support 📱💻 + +#### 4.1.1 Mobile Apps +**Timeline:** October 2025 +- [ ] iOS App (Swift/SwiftUI) +- [ ] Android App (Kotlin) +- [ ] App Store submission +- [ ] Google Play submission +- [ ] Biometric authentication +- [ ] Push notifications + +#### 4.1.2 Desktop Apps +**Timeline:** November 2025 +- [ ] Electron App (Windows, macOS, Linux) +- [ ] Full trading terminal +- [ ] Advanced charts +- [ ] Portfolio management +- [ ] Hardware wallet integration (Ledger, Trezor) + +#### 4.1.3 Browser Extensions +**Timeline:** November 2025 +- [ ] Chrome extension +- [ ] Firefox extension +- [ ] Edge extension +- [ ] Brave extension +- [ ] Quick balance check +- [ ] Price alerts +- [ ] Web3 dApp connector + +### 4.2 Cross-Chain Integration 🌉 +**Timeline:** October - November 2025 +- [ ] Multi-chain support (Ethereum, WorldChain, Base, Polygon, BSC, Arbitrum, Optimism, Avalanche) +- [ ] Bridge technology (LayerZero, Axelar, Wormhole) +- [ ] One-click bridge +- [ ] Auto-routing +- [ ] Cross-chain swaps + +### 4.3 Advanced Analytics 📊 +**Timeline:** November 2025 +- [ ] Portfolio tracking +- [ ] P&L analysis +- [ ] Tax reporting +- [ ] Risk metrics +- [ ] Performance benchmarks +- [ ] Whale watching +- [ ] On-chain analytics +- [ ] Interactive charts (TradingView) + +### 4.4 Institutional Features 🏢 +**Timeline:** December 2025 +- [ ] Multi-user accounts +- [ ] Role-based access +- [ ] API access (RESTful + WebSocket) +- [ ] Batch operations +- [ ] White-label solution +- [ ] AML monitoring +- [ ] Compliance dashboard + +### 4.5 AI Integration 🤖 +**Timeline:** December 2025 +- [ ] AI Trading Assistant +- [ ] Price prediction (ML models) +- [ ] Risk assessment +- [ ] Smart notifications +- [ ] Personalized recommendations +- [ ] Fraud detection +- [ ] Customer support bot + +--- + +## 📈 Key Performance Indicators (KPIs) + +### Q1 2025 Targets +- [ ] 10,000+ verified users +- [ ] $1M+ TVL (Total Value Locked) +- [ ] 100,000+ transactions +- [ ] 99.9% uptime + +### Q2 2025 Targets +- [ ] 50,000+ users +- [ ] $10M+ TVL +- [ ] 500,000+ transactions +- [ ] 5+ blockchain integrations + +### Q3 2025 Targets +- [ ] 200,000+ users +- [ ] $50M+ TVL +- [ ] 2M+ transactions +- [ ] 10+ supported languages + +### Q4 2025 Targets +- [ ] 1M+ users +- [ ] $200M+ TVL +- [ ] 10M+ transactions +- [ ] Top 100 DeFi protocols + +--- + +## 🚀 Getting Started with Phases + +To initialize and start working on all phases: + +1. **Run the startup script:** + ```bash + bash start-all-phases.sh + ``` + +2. **Check phase status:** + ```bash + cat PHASE_STATUS.md + ``` + +3. **Update progress:** + - Mark completed tasks with `[x]` + - Update percentages and dates + - Document blockers and dependencies + +--- + +## 📝 Notes + +- All timelines are estimates and subject to change +- External security audits are required before mainnet deployment +- Regulatory compliance must be verified for banking integrations +- Partnership agreements needed for card issuance + +--- + +## 📞 Contact + +**Developer:** PHIPHAT PHOEMSUK (ZeaZDev) +**Email:** admin@zeaz.dev +**Website:** https://app.zeaz.dev +**GitHub:** https://github.com/ZeaZDev + +--- + +*This document is automatically updated as phases progress. For detailed roadmap, see [ROADMAP.md](ROADMAP.md).* diff --git a/README.md b/README.md index cb20037..32ac0c3 100644 --- a/README.md +++ b/README.md @@ -230,7 +230,38 @@ Create a `.env` file in both `mini-app/` and `server/` directories: ### Running the Project -#### Running the Mini App (Development) +#### Quick Start - All Phases (Recommended) + +**Automated Startup Script** + +The easiest way to start all components at once: + +```bash +# Start all services (backend + frontend) +bash start-all-phases.sh --all + +# Or for specific components: +bash start-all-phases.sh --backend # Backend only +bash start-all-phases.sh --frontend # Frontend only +bash start-all-phases.sh --status # Check status +bash start-all-phases.sh --stop # Stop all services +bash start-all-phases.sh --help # Show help +``` + +The script will: +- ✅ Check prerequisites (Node.js, npm) +- ✅ Install dependencies if needed +- ✅ Start backend verifier service +- ✅ Start mini-app with Expo +- ✅ Display service status +- ✅ Create logs in `Logs/` directory + +**Phase Status Tracking:** +- Check `PHASE_STATUS.md` for development roadmap +- Track progress across all 4 phases (Q1-Q4 2025) +- View completed and planned features + +#### Manual Startup (Alternative Method) **Step 1: Start Backend Verifier Server** ```bash diff --git a/package-lock.json b/package-lock.json new file mode 100644 index 0000000..24457bb --- /dev/null +++ b/package-lock.json @@ -0,0 +1,31 @@ +{ + "name": "demo-repo", + "version": "0.2.0", + "lockfileVersion": 3, + "requires": true, + "packages": { + "": { + "name": "demo-repo", + "version": "0.2.0", + "license": "MIT", + "dependencies": { + "@primer/css": "17.0.1" + } + }, + "node_modules/@primer/css": { + "version": "17.0.1", + "resolved": "https://registry.npmjs.org/@primer/css/-/css-17.0.1.tgz", + "integrity": "sha512-qA0WOfkGthJVoUUqFpsaD3m2aeuGuVSZwMWsxZFUUufB3pfGfIG+vkpAqaJTGFJzbKD9ZfXyt1wfJwtyMcsVfg==", + "license": "MIT", + "dependencies": { + "@primer/primitives": "4.3.2" + } + }, + "node_modules/@primer/primitives": { + "version": "4.3.2", + "resolved": "https://registry.npmjs.org/@primer/primitives/-/primitives-4.3.2.tgz", + "integrity": "sha512-5qBEQVchd2Vd2K2IT9mbQdI9E4IGiDVoLITlQXE2HIW9sWHREULSE4xg3W51i/XlDUIgnycELCI+Ept8V7v+og==", + "license": "MIT" + } + } +} diff --git a/server/package-lock.json b/server/package-lock.json new file mode 100644 index 0000000..4c0f071 --- /dev/null +++ b/server/package-lock.json @@ -0,0 +1,1352 @@ +{ + "name": "zeazdev-verifier-server", + "version": "1.0.0", + "lockfileVersion": 3, + "requires": true, + "packages": { + "": { + "name": "zeazdev-verifier-server", + "version": "1.0.0", + "license": "MIT", + "dependencies": { + "cors": "^2.8.5", + "dotenv": "^16.3.1", + "ethers": "^6.10.0", + "express": "^4.18.2" + }, + "devDependencies": { + "nodemon": "^3.0.2" + } + }, + "node_modules/@adraffy/ens-normalize": { + "version": "1.10.1", + "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz", + "integrity": "sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==", + "license": "MIT" + }, + "node_modules/@noble/curves": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", + "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "license": "MIT", + "dependencies": { + "@noble/hashes": "1.3.2" + }, + "funding": { + "url": "https://paulmillr.com/funding/" + } + }, + "node_modules/@noble/hashes": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", + "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "license": "MIT", + "engines": { + "node": ">= 16" + }, + "funding": { + "url": "https://paulmillr.com/funding/" + } + }, + "node_modules/@types/node": { + "version": "22.7.5", + "resolved": "https://registry.npmjs.org/@types/node/-/node-22.7.5.tgz", + "integrity": "sha512-jML7s2NAzMWc//QSJ1a3prpk78cOPchGvXJsC3C6R6PSMoooztvRVQEz89gmBTBY1SPMaqo5teB4uNHPdetShQ==", + "license": "MIT", + "dependencies": { + "undici-types": "~6.19.2" + } + }, + "node_modules/accepts": { + "version": "1.3.8", + "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.8.tgz", + "integrity": "sha512-PYAthTa2m2VKxuvSD3DPC/Gy+U+sOA1LAuT8mkmRuvw+NACSaeXEQ+NHcVF7rONl6qcaxV3Uuemwawk+7+SJLw==", + "license": "MIT", + "dependencies": { + "mime-types": "~2.1.34", + "negotiator": "0.6.3" + }, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/aes-js": { + "version": "4.0.0-beta.5", + "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==", + "license": "MIT" + }, + "node_modules/anymatch": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.3.tgz", + "integrity": "sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==", + "dev": true, + "license": "ISC", + "dependencies": { + "normalize-path": "^3.0.0", + "picomatch": "^2.0.4" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/array-flatten": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/array-flatten/-/array-flatten-1.1.1.tgz", + "integrity": "sha512-PCVAQswWemu6UdxsDFFX/+gVeYqKAod3D3UVm91jHwynguOwAvYPhx8nNlM++NqRcK6CxxpUafjmhIdKiHibqg==", + "license": "MIT" + }, + "node_modules/balanced-match": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", + "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", + "dev": true, + "license": "MIT" + }, + "node_modules/binary-extensions": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.3.0.tgz", + "integrity": "sha512-Ceh+7ox5qe7LJuLHoY0feh3pHuUDHAcRUeyL2VYghZwfpkNIy/+8Ocg0a3UuSoYzavmylwuLWQOf3hl0jjMMIw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/body-parser": { + "version": "1.20.3", + "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.20.3.tgz", + "integrity": "sha512-7rAxByjUMqQ3/bHJy7D6OGXvx/MMc4IqBn/X0fcM1QUcAItpZrBEYhWGem+tzXH90c+G01ypMcYJBO9Y30203g==", + "license": "MIT", + "dependencies": { + "bytes": "3.1.2", + "content-type": "~1.0.5", + "debug": "2.6.9", + "depd": "2.0.0", + "destroy": "1.2.0", + "http-errors": "2.0.0", + "iconv-lite": "0.4.24", + "on-finished": "2.4.1", + "qs": "6.13.0", + "raw-body": "2.5.2", + "type-is": "~1.6.18", + "unpipe": "1.0.0" + }, + "engines": { + "node": ">= 0.8", + "npm": "1.2.8000 || >= 1.4.16" + } + }, + "node_modules/brace-expansion": { + "version": "1.1.12", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.12.tgz", + "integrity": "sha512-9T9UjW3r0UW5c1Q7GTwllptXwhvYmEzFhzMfZ9H7FQWt+uZePjZPjBP/W1ZEyZ1twGWom5/56TF4lPcqjnDHcg==", + "dev": true, + "license": "MIT", + "dependencies": { + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" + } + }, + "node_modules/braces": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.3.tgz", + "integrity": "sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==", + "dev": true, + "license": "MIT", + "dependencies": { + "fill-range": "^7.1.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/bytes": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.2.tgz", + "integrity": "sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg==", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/call-bind-apply-helpers": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/call-bind-apply-helpers/-/call-bind-apply-helpers-1.0.2.tgz", + "integrity": "sha512-Sp1ablJ0ivDkSzjcaJdxEunN5/XvksFJ2sMBFfq6x0ryhQV/2b/KwFe21cMpmHtPOSij8K99/wSfoEuTObmuMQ==", + "license": "MIT", + "dependencies": { + "es-errors": "^1.3.0", + "function-bind": "^1.1.2" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/call-bound": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/call-bound/-/call-bound-1.0.4.tgz", + "integrity": "sha512-+ys997U96po4Kx/ABpBCqhA9EuxJaQWDQg7295H4hBphv3IZg0boBKuwYpt4YXp6MZ5AmZQnU/tyMTlRpaSejg==", + "license": "MIT", + "dependencies": { + "call-bind-apply-helpers": "^1.0.2", + "get-intrinsic": "^1.3.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/chokidar": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.6.0.tgz", + "integrity": "sha512-7VT13fmjotKpGipCW9JEQAusEPE+Ei8nl6/g4FBAmIm0GOOLMua9NDDo/DWp0ZAxCr3cPq5ZpBqmPAQgDda2Pw==", + "dev": true, + "license": "MIT", + "dependencies": { + "anymatch": "~3.1.2", + "braces": "~3.0.2", + "glob-parent": "~5.1.2", + "is-binary-path": "~2.1.0", + "is-glob": "~4.0.1", + "normalize-path": "~3.0.0", + "readdirp": "~3.6.0" + }, + "engines": { + "node": ">= 8.10.0" + }, + "funding": { + "url": "https://paulmillr.com/funding/" + }, + "optionalDependencies": { + "fsevents": "~2.3.2" + } + }, + "node_modules/concat-map": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", + "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==", + "dev": true, + "license": "MIT" + }, + "node_modules/content-disposition": { + "version": "0.5.4", + "resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-0.5.4.tgz", + "integrity": "sha512-FveZTNuGw04cxlAiWbzi6zTAL/lhehaWbTtgluJh4/E95DqMwTmha3KZN1aAWA8cFIhHzMZUvLevkw5Rqk+tSQ==", + "license": "MIT", + "dependencies": { + "safe-buffer": "5.2.1" + }, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/content-type": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.5.tgz", + "integrity": "sha512-nTjqfcBFEipKdXCv4YDQWCfmcLZKm81ldF0pAopTvyrFGVbcR6P/VAAd5G7N+0tTr8QqiU0tFadD6FK4NtJwOA==", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/cookie": { + "version": "0.7.1", + "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.7.1.tgz", + "integrity": "sha512-6DnInpx7SJ2AK3+CTUE/ZM0vWTUboZCegxhC2xiIydHR9jNuTAASBrfEpHhiGOZw/nX51bHt6YQl8jsGo4y/0w==", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/cookie-signature": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.6.tgz", + "integrity": "sha512-QADzlaHc8icV8I7vbaJXJwod9HWYp8uCqf1xa4OfNu1T7JVxQIrUgOWtHdNDtPiywmFbiS12VjotIXLrKM3orQ==", + "license": "MIT" + }, + "node_modules/cors": { + "version": "2.8.5", + "resolved": "https://registry.npmjs.org/cors/-/cors-2.8.5.tgz", + "integrity": "sha512-KIHbLJqu73RGr/hnbrO9uBeixNGuvSQjul/jdFvS/KFSIH1hWVd1ng7zOHx+YrEfInLG7q4n6GHQ9cDtxv/P6g==", + "license": "MIT", + "dependencies": { + "object-assign": "^4", + "vary": "^1" + }, + "engines": { + "node": ">= 0.10" + } + }, + "node_modules/debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "license": "MIT", + "dependencies": { + "ms": "2.0.0" + } + }, + "node_modules/depd": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/depd/-/depd-2.0.0.tgz", + "integrity": "sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/destroy": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/destroy/-/destroy-1.2.0.tgz", + "integrity": "sha512-2sJGJTaXIIaR1w4iJSNoN0hnMY7Gpc/n8D4qSCJw8QqFWXf7cuAgnEHxBpweaVcPevC2l3KpjYCx3NypQQgaJg==", + "license": "MIT", + "engines": { + "node": ">= 0.8", + "npm": "1.2.8000 || >= 1.4.16" + } + }, + "node_modules/dotenv": { + "version": "16.6.1", + "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-16.6.1.tgz", + "integrity": "sha512-uBq4egWHTcTt33a72vpSG0z3HnPuIl6NqYcTrKEg2azoEyl2hpW0zqlxysq2pK9HlDIHyHyakeYaYnSAwd8bow==", + "license": "BSD-2-Clause", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://dotenvx.com" + } + }, + "node_modules/dunder-proto": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/dunder-proto/-/dunder-proto-1.0.1.tgz", + "integrity": "sha512-KIN/nDJBQRcXw0MLVhZE9iQHmG68qAVIBg9CqmUYjmQIhgij9U5MFvrqkUL5FbtyyzZuOeOt0zdeRe4UY7ct+A==", + "license": "MIT", + "dependencies": { + "call-bind-apply-helpers": "^1.0.1", + "es-errors": "^1.3.0", + "gopd": "^1.2.0" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/ee-first": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz", + "integrity": "sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==", + "license": "MIT" + }, + "node_modules/encodeurl": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-2.0.0.tgz", + "integrity": "sha512-Q0n9HRi4m6JuGIV1eFlmvJB7ZEVxu93IrMyiMsGC0lrMJMWzRgx6WGquyfQgZVb31vhGgXnfmPNNXmxnOkRBrg==", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/es-define-property": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/es-define-property/-/es-define-property-1.0.1.tgz", + "integrity": "sha512-e3nRfgfUZ4rNGL232gUgX06QNyyez04KdjFrF+LTRoOXmrOgFKDg4BCdsjW8EnT69eqdYGmRpJwiPVYNrCaW3g==", + "license": "MIT", + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/es-errors": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/es-errors/-/es-errors-1.3.0.tgz", + "integrity": "sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==", + "license": "MIT", + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/es-object-atoms": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/es-object-atoms/-/es-object-atoms-1.1.1.tgz", + "integrity": "sha512-FGgH2h8zKNim9ljj7dankFPcICIK9Cp5bm+c2gQSYePhpaG5+esrLODihIorn+Pe6FGJzWhXQotPv73jTaldXA==", + "license": "MIT", + "dependencies": { + "es-errors": "^1.3.0" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/escape-html": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz", + "integrity": "sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow==", + "license": "MIT" + }, + "node_modules/etag": { + "version": "1.8.1", + "resolved": "https://registry.npmjs.org/etag/-/etag-1.8.1.tgz", + "integrity": "sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg==", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/ethers": { + "version": "6.15.0", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.15.0.tgz", + "integrity": "sha512-Kf/3ZW54L4UT0pZtsY/rf+EkBU7Qi5nnhonjUb8yTXcxH3cdcWrV2cRyk0Xk/4jK6OoHhxxZHriyhje20If2hQ==", + "funding": [ + { + "type": "individual", + "url": "https://github.com/sponsors/ethers-io/" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "license": "MIT", + "dependencies": { + "@adraffy/ens-normalize": "1.10.1", + "@noble/curves": "1.2.0", + "@noble/hashes": "1.3.2", + "@types/node": "22.7.5", + "aes-js": "4.0.0-beta.5", + "tslib": "2.7.0", + "ws": "8.17.1" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/express": { + "version": "4.21.2", + "resolved": "https://registry.npmjs.org/express/-/express-4.21.2.tgz", + "integrity": "sha512-28HqgMZAmih1Czt9ny7qr6ek2qddF4FclbMzwhCREB6OFfH+rXAnuNCwo1/wFvrtbgsQDb4kSbX9de9lFbrXnA==", + "license": "MIT", + "dependencies": { + "accepts": "~1.3.8", + "array-flatten": "1.1.1", + "body-parser": "1.20.3", + "content-disposition": "0.5.4", + "content-type": "~1.0.4", + "cookie": "0.7.1", + "cookie-signature": "1.0.6", + "debug": "2.6.9", + "depd": "2.0.0", + "encodeurl": "~2.0.0", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "finalhandler": "1.3.1", + "fresh": "0.5.2", + "http-errors": "2.0.0", + "merge-descriptors": "1.0.3", + "methods": "~1.1.2", + "on-finished": "2.4.1", + "parseurl": "~1.3.3", + "path-to-regexp": "0.1.12", + "proxy-addr": "~2.0.7", + "qs": "6.13.0", + "range-parser": "~1.2.1", + "safe-buffer": "5.2.1", + "send": "0.19.0", + "serve-static": "1.16.2", + "setprototypeof": "1.2.0", + "statuses": "2.0.1", + "type-is": "~1.6.18", + "utils-merge": "1.0.1", + "vary": "~1.1.2" + }, + "engines": { + "node": ">= 0.10.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, + "node_modules/fill-range": { + "version": "7.1.1", + "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.1.1.tgz", + "integrity": "sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==", + "dev": true, + "license": "MIT", + "dependencies": { + "to-regex-range": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/finalhandler": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.3.1.tgz", + "integrity": "sha512-6BN9trH7bp3qvnrRyzsBz+g3lZxTNZTbVO2EV1CS0WIcDbawYVdYvGflME/9QP0h0pYlCDBCTjYa9nZzMDpyxQ==", + "license": "MIT", + "dependencies": { + "debug": "2.6.9", + "encodeurl": "~2.0.0", + "escape-html": "~1.0.3", + "on-finished": "2.4.1", + "parseurl": "~1.3.3", + "statuses": "2.0.1", + "unpipe": "~1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/forwarded": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.2.0.tgz", + "integrity": "sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow==", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/fresh": { + "version": "0.5.2", + "resolved": "https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz", + "integrity": "sha512-zJ2mQYM18rEFOudeV4GShTGIQ7RbzA7ozbU9I/XBpm7kqgMywgmylMwXHxZJmkVoYkna9d2pVXVXPdYTP9ej8Q==", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/fsevents": { + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz", + "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==", + "dev": true, + "hasInstallScript": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": "^8.16.0 || ^10.6.0 || >=11.0.0" + } + }, + "node_modules/function-bind": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz", + "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==", + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/get-intrinsic": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.3.0.tgz", + "integrity": "sha512-9fSjSaos/fRIVIp+xSJlE6lfwhES7LNtKaCBIamHsjr2na1BiABJPo0mOjjz8GJDURarmCPGqaiVg5mfjb98CQ==", + "license": "MIT", + "dependencies": { + "call-bind-apply-helpers": "^1.0.2", + "es-define-property": "^1.0.1", + "es-errors": "^1.3.0", + "es-object-atoms": "^1.1.1", + "function-bind": "^1.1.2", + "get-proto": "^1.0.1", + "gopd": "^1.2.0", + "has-symbols": "^1.1.0", + "hasown": "^2.0.2", + "math-intrinsics": "^1.1.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/get-proto": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/get-proto/-/get-proto-1.0.1.tgz", + "integrity": "sha512-sTSfBjoXBp89JvIKIefqw7U2CCebsc74kiY6awiGogKtoSGbgjYE/G/+l9sF3MWFPNc9IcoOC4ODfKHfxFmp0g==", + "license": "MIT", + "dependencies": { + "dunder-proto": "^1.0.1", + "es-object-atoms": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/glob-parent": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", + "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", + "dev": true, + "license": "ISC", + "dependencies": { + "is-glob": "^4.0.1" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/gopd": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.2.0.tgz", + "integrity": "sha512-ZUKRh6/kUFoAiTAtTYPZJ3hw9wNxx+BIBOijnlG9PnrJsCcSjs1wyyD6vJpaYtgnzDrKYRSqf3OO6Rfa93xsRg==", + "license": "MIT", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/has-flag": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "node_modules/has-symbols": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.1.0.tgz", + "integrity": "sha512-1cDNdwJ2Jaohmb3sg4OmKaMBwuC48sYni5HUw2DvsC8LjGTLK9h+eb1X6RyuOHe4hT0ULCW68iomhjUoKUqlPQ==", + "license": "MIT", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/hasown": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.2.tgz", + "integrity": "sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==", + "license": "MIT", + "dependencies": { + "function-bind": "^1.1.2" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/http-errors": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-2.0.0.tgz", + "integrity": "sha512-FtwrG/euBzaEjYeRqOgly7G0qviiXoJWnvEH2Z1plBdXgbyjv34pHTSb9zoeHMyDy33+DWy5Wt9Wo+TURtOYSQ==", + "license": "MIT", + "dependencies": { + "depd": "2.0.0", + "inherits": "2.0.4", + "setprototypeof": "1.2.0", + "statuses": "2.0.1", + "toidentifier": "1.0.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/iconv-lite": { + "version": "0.4.24", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", + "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", + "license": "MIT", + "dependencies": { + "safer-buffer": ">= 2.1.2 < 3" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ignore-by-default": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/ignore-by-default/-/ignore-by-default-1.0.1.tgz", + "integrity": "sha512-Ius2VYcGNk7T90CppJqcIkS5ooHUZyIQK+ClZfMfMNFEF9VSE73Fq+906u/CWu92x4gzZMWOwfFYckPObzdEbA==", + "dev": true, + "license": "ISC" + }, + "node_modules/inherits": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", + "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", + "license": "ISC" + }, + "node_modules/ipaddr.js": { + "version": "1.9.1", + "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.9.1.tgz", + "integrity": "sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g==", + "license": "MIT", + "engines": { + "node": ">= 0.10" + } + }, + "node_modules/is-binary-path": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz", + "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==", + "dev": true, + "license": "MIT", + "dependencies": { + "binary-extensions": "^2.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/is-extglob": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", + "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-glob": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", + "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", + "dev": true, + "license": "MIT", + "dependencies": { + "is-extglob": "^2.1.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-number": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", + "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.12.0" + } + }, + "node_modules/math-intrinsics": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/math-intrinsics/-/math-intrinsics-1.1.0.tgz", + "integrity": "sha512-/IXtbwEk5HTPyEwyKX6hGkYXxM9nbj64B+ilVJnC/R6B0pH5G4V3b0pVbL7DBj4tkhBAppbQUlf6F6Xl9LHu1g==", + "license": "MIT", + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/media-typer": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz", + "integrity": "sha512-dq+qelQ9akHpcOl/gUVRTxVIOkAJ1wR3QAvb4RsVjS8oVoFjDGTc679wJYmUmknUF5HwMLOgb5O+a3KxfWapPQ==", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/merge-descriptors": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.3.tgz", + "integrity": "sha512-gaNvAS7TZ897/rVaZ0nMtAyxNyi/pdbjbAwUpFQpN70GqnVfOiXpeUUMKRBmzXaSQ8DdTX4/0ms62r2K+hE6mQ==", + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/methods": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/methods/-/methods-1.1.2.tgz", + "integrity": "sha512-iclAHeNqNm68zFtnZ0e+1L2yUIdvzNoauKU4WBA3VvH/vPFieF7qfRlwUZU+DA9P9bPXIS90ulxoUoCH23sV2w==", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/mime": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz", + "integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==", + "license": "MIT", + "bin": { + "mime": "cli.js" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/mime-db": { + "version": "1.52.0", + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz", + "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/mime-types": { + "version": "2.1.35", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz", + "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==", + "license": "MIT", + "dependencies": { + "mime-db": "1.52.0" + }, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/minimatch": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", + "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", + "dev": true, + "license": "ISC", + "dependencies": { + "brace-expansion": "^1.1.7" + }, + "engines": { + "node": "*" + } + }, + "node_modules/ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==", + "license": "MIT" + }, + "node_modules/negotiator": { + "version": "0.6.3", + "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.3.tgz", + "integrity": "sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg==", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/nodemon": { + "version": "3.1.10", + "resolved": "https://registry.npmjs.org/nodemon/-/nodemon-3.1.10.tgz", + "integrity": "sha512-WDjw3pJ0/0jMFmyNDp3gvY2YizjLmmOUQo6DEBY+JgdvW/yQ9mEeSw6H5ythl5Ny2ytb7f9C2nIbjSxMNzbJXw==", + "dev": true, + "license": "MIT", + "dependencies": { + "chokidar": "^3.5.2", + "debug": "^4", + "ignore-by-default": "^1.0.1", + "minimatch": "^3.1.2", + "pstree.remy": "^1.1.8", + "semver": "^7.5.3", + "simple-update-notifier": "^2.0.0", + "supports-color": "^5.5.0", + "touch": "^3.1.0", + "undefsafe": "^2.0.5" + }, + "bin": { + "nodemon": "bin/nodemon.js" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/nodemon" + } + }, + "node_modules/nodemon/node_modules/debug": { + "version": "4.4.3", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.3.tgz", + "integrity": "sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA==", + "dev": true, + "license": "MIT", + "dependencies": { + "ms": "^2.1.3" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "node_modules/nodemon/node_modules/ms": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", + "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", + "dev": true, + "license": "MIT" + }, + "node_modules/normalize-path": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", + "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/object-assign": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", + "integrity": "sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/object-inspect": { + "version": "1.13.4", + "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.13.4.tgz", + "integrity": "sha512-W67iLl4J2EXEGTbfeHCffrjDfitvLANg0UlX3wFUUSTx92KXRFegMHUVgSqE+wvhAbi4WqjGg9czysTV2Epbew==", + "license": "MIT", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/on-finished": { + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.4.1.tgz", + "integrity": "sha512-oVlzkg3ENAhCk2zdv7IJwd/QUD4z2RxRwpkcGY8psCVcCYZNq4wYnVWALHM+brtuJjePWiYF/ClmuDr8Ch5+kg==", + "license": "MIT", + "dependencies": { + "ee-first": "1.1.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/parseurl": { + "version": "1.3.3", + "resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz", + "integrity": "sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/path-to-regexp": { + "version": "0.1.12", + "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.12.tgz", + "integrity": "sha512-RA1GjUVMnvYFxuqovrEqZoxxW5NUZqbwKtYz/Tt7nXerk0LbLblQmrsgdeOxV5SFHf0UDggjS/bSeOZwt1pmEQ==", + "license": "MIT" + }, + "node_modules/picomatch": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", + "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8.6" + }, + "funding": { + "url": "https://github.com/sponsors/jonschlinkert" + } + }, + "node_modules/proxy-addr": { + "version": "2.0.7", + "resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.7.tgz", + "integrity": "sha512-llQsMLSUDUPT44jdrU/O37qlnifitDP+ZwrmmZcoSKyLKvtZxpyV0n2/bD/N4tBAAZ/gJEdZU7KMraoK1+XYAg==", + "license": "MIT", + "dependencies": { + "forwarded": "0.2.0", + "ipaddr.js": "1.9.1" + }, + "engines": { + "node": ">= 0.10" + } + }, + "node_modules/pstree.remy": { + "version": "1.1.8", + "resolved": "https://registry.npmjs.org/pstree.remy/-/pstree.remy-1.1.8.tgz", + "integrity": "sha512-77DZwxQmxKnu3aR542U+X8FypNzbfJ+C5XQDk3uWjWxn6151aIMGthWYRXTqT1E5oJvg+ljaa2OJi+VfvCOQ8w==", + "dev": true, + "license": "MIT" + }, + "node_modules/qs": { + "version": "6.13.0", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.13.0.tgz", + "integrity": "sha512-+38qI9SOr8tfZ4QmJNplMUxqjbe7LKvvZgWdExBOmd+egZTtjLB67Gu0HRX3u/XOq7UU2Nx6nsjvS16Z9uwfpg==", + "license": "BSD-3-Clause", + "dependencies": { + "side-channel": "^1.0.6" + }, + "engines": { + "node": ">=0.6" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/range-parser": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.1.tgz", + "integrity": "sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg==", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/raw-body": { + "version": "2.5.2", + "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.5.2.tgz", + "integrity": "sha512-8zGqypfENjCIqGhgXToC8aB2r7YrBX+AQAfIPs/Mlk+BtPTztOvTS01NRW/3Eh60J+a48lt8qsCzirQ6loCVfA==", + "license": "MIT", + "dependencies": { + "bytes": "3.1.2", + "http-errors": "2.0.0", + "iconv-lite": "0.4.24", + "unpipe": "1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/readdirp": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz", + "integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==", + "dev": true, + "license": "MIT", + "dependencies": { + "picomatch": "^2.2.1" + }, + "engines": { + "node": ">=8.10.0" + } + }, + "node_modules/safe-buffer": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", + "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT" + }, + "node_modules/safer-buffer": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", + "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==", + "license": "MIT" + }, + "node_modules/semver": { + "version": "7.7.3", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.3.tgz", + "integrity": "sha512-SdsKMrI9TdgjdweUSR9MweHA4EJ8YxHn8DFaDisvhVlUOe4BF1tLD7GAj0lIqWVl+dPb/rExr0Btby5loQm20Q==", + "dev": true, + "license": "ISC", + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/send": { + "version": "0.19.0", + "resolved": "https://registry.npmjs.org/send/-/send-0.19.0.tgz", + "integrity": "sha512-dW41u5VfLXu8SJh5bwRmyYUbAoSB3c9uQh6L8h/KtsFREPWpbX1lrljJo186Jc4nmci/sGUZ9a0a0J2zgfq2hw==", + "license": "MIT", + "dependencies": { + "debug": "2.6.9", + "depd": "2.0.0", + "destroy": "1.2.0", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "fresh": "0.5.2", + "http-errors": "2.0.0", + "mime": "1.6.0", + "ms": "2.1.3", + "on-finished": "2.4.1", + "range-parser": "~1.2.1", + "statuses": "2.0.1" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/send/node_modules/encodeurl": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz", + "integrity": "sha512-TPJXq8JqFaVYm2CWmPvnP2Iyo4ZSM7/QKcSmuMLDObfpH5fi7RUGmd/rTDf+rut/saiDiQEeVTNgAmJEdAOx0w==", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/send/node_modules/ms": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", + "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", + "license": "MIT" + }, + "node_modules/serve-static": { + "version": "1.16.2", + "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.16.2.tgz", + "integrity": "sha512-VqpjJZKadQB/PEbEwvFdO43Ax5dFBZ2UECszz8bQ7pi7wt//PWe1P6MN7eCnjsatYtBT6EuiClbjSWP2WrIoTw==", + "license": "MIT", + "dependencies": { + "encodeurl": "~2.0.0", + "escape-html": "~1.0.3", + "parseurl": "~1.3.3", + "send": "0.19.0" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/setprototypeof": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.2.0.tgz", + "integrity": "sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==", + "license": "ISC" + }, + "node_modules/side-channel": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.1.0.tgz", + "integrity": "sha512-ZX99e6tRweoUXqR+VBrslhda51Nh5MTQwou5tnUDgbtyM0dBgmhEDtWGP/xbKn6hqfPRHujUNwz5fy/wbbhnpw==", + "license": "MIT", + "dependencies": { + "es-errors": "^1.3.0", + "object-inspect": "^1.13.3", + "side-channel-list": "^1.0.0", + "side-channel-map": "^1.0.1", + "side-channel-weakmap": "^1.0.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/side-channel-list": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/side-channel-list/-/side-channel-list-1.0.0.tgz", + "integrity": "sha512-FCLHtRD/gnpCiCHEiJLOwdmFP+wzCmDEkc9y7NsYxeF4u7Btsn1ZuwgwJGxImImHicJArLP4R0yX4c2KCrMrTA==", + "license": "MIT", + "dependencies": { + "es-errors": "^1.3.0", + "object-inspect": "^1.13.3" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/side-channel-map": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/side-channel-map/-/side-channel-map-1.0.1.tgz", + "integrity": "sha512-VCjCNfgMsby3tTdo02nbjtM/ewra6jPHmpThenkTYh8pG9ucZ/1P8So4u4FGBek/BjpOVsDCMoLA/iuBKIFXRA==", + "license": "MIT", + "dependencies": { + "call-bound": "^1.0.2", + "es-errors": "^1.3.0", + "get-intrinsic": "^1.2.5", + "object-inspect": "^1.13.3" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/side-channel-weakmap": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/side-channel-weakmap/-/side-channel-weakmap-1.0.2.tgz", + "integrity": "sha512-WPS/HvHQTYnHisLo9McqBHOJk2FkHO/tlpvldyrnem4aeQp4hai3gythswg6p01oSoTl58rcpiFAjF2br2Ak2A==", + "license": "MIT", + "dependencies": { + "call-bound": "^1.0.2", + "es-errors": "^1.3.0", + "get-intrinsic": "^1.2.5", + "object-inspect": "^1.13.3", + "side-channel-map": "^1.0.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/simple-update-notifier": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/simple-update-notifier/-/simple-update-notifier-2.0.0.tgz", + "integrity": "sha512-a2B9Y0KlNXl9u/vsW6sTIu9vGEpfKu2wRV6l1H3XEas/0gUIzGzBoP/IouTcUQbm9JWZLH3COxyn03TYlFax6w==", + "dev": true, + "license": "MIT", + "dependencies": { + "semver": "^7.5.3" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/statuses": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/statuses/-/statuses-2.0.1.tgz", + "integrity": "sha512-RwNA9Z/7PrK06rYLIzFMlaF+l73iwpzsqRIFgbMLbTcLD6cOao82TaWefPXQvB2fOC4AjuYSEndS7N/mTCbkdQ==", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "dev": true, + "license": "MIT", + "dependencies": { + "has-flag": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/to-regex-range": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", + "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "is-number": "^7.0.0" + }, + "engines": { + "node": ">=8.0" + } + }, + "node_modules/toidentifier": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.1.tgz", + "integrity": "sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA==", + "license": "MIT", + "engines": { + "node": ">=0.6" + } + }, + "node_modules/touch": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/touch/-/touch-3.1.1.tgz", + "integrity": "sha512-r0eojU4bI8MnHr8c5bNo7lJDdI2qXlWWJk6a9EAFG7vbhTjElYhBVS3/miuE0uOuoLdb8Mc/rVfsmm6eo5o9GA==", + "dev": true, + "license": "ISC", + "bin": { + "nodetouch": "bin/nodetouch.js" + } + }, + "node_modules/tslib": { + "version": "2.7.0", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.7.0.tgz", + "integrity": "sha512-gLXCKdN1/j47AiHiOkJN69hJmcbGTHI0ImLmbYLHykhgeN0jVGola9yVjFgzCUklsZQMW55o+dW7IXv3RCXDzA==", + "license": "0BSD" + }, + "node_modules/type-is": { + "version": "1.6.18", + "resolved": "https://registry.npmjs.org/type-is/-/type-is-1.6.18.tgz", + "integrity": "sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g==", + "license": "MIT", + "dependencies": { + "media-typer": "0.3.0", + "mime-types": "~2.1.24" + }, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/undefsafe": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/undefsafe/-/undefsafe-2.0.5.tgz", + "integrity": "sha512-WxONCrssBM8TSPRqN5EmsjVrsv4A8X12J4ArBiiayv3DyyG3ZlIg6yysuuSYdZsVz3TKcTg2fd//Ujd4CHV1iA==", + "dev": true, + "license": "MIT" + }, + "node_modules/undici-types": { + "version": "6.19.8", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.19.8.tgz", + "integrity": "sha512-ve2KP6f/JnbPBFyobGHuerC9g1FYGn/F8n1LWTwNxCEzd6IfqTwUQcNXgEtmmQ6DlRrC1hrSrBnCZPokRrDHjw==", + "license": "MIT" + }, + "node_modules/unpipe": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz", + "integrity": "sha512-pjy2bYhSsufwWlKwPc+l3cN7+wuJlK6uz0YdJEOlQDbl6jo/YlPi4mb8agUkVC8BF7V8NuzeyPNqRksA3hztKQ==", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/utils-merge": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/utils-merge/-/utils-merge-1.0.1.tgz", + "integrity": "sha512-pMZTvIkT1d+TFGvDOqodOclx0QWkkgi6Tdoa8gC8ffGAAqz9pzPTZWAybbsHHoED/ztMtkv/VoYTYyShUn81hA==", + "license": "MIT", + "engines": { + "node": ">= 0.4.0" + } + }, + "node_modules/vary": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz", + "integrity": "sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg==", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/ws": { + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "license": "MIT", + "engines": { + "node": ">=10.0.0" + }, + "peerDependencies": { + "bufferutil": "^4.0.1", + "utf-8-validate": ">=5.0.2" + }, + "peerDependenciesMeta": { + "bufferutil": { + "optional": true + }, + "utf-8-validate": { + "optional": true + } + } + } + } +} diff --git a/start-all-phases.sh b/start-all-phases.sh new file mode 100755 index 0000000..3727bea --- /dev/null +++ b/start-all-phases.sh @@ -0,0 +1,576 @@ +#!/usr/bin/env bash +# ============================================================================= +# 🚀 ZeaZDev - Start All Phases Script +# ============================================================================= +# Developer: PHIPHAT PHOEMSUK (ZeaZDev) +# Email: admin@zeaz.dev +# Website: https://app.zeaz.dev +# Version: 1.0.0 +# +# Description: +# This script initializes and starts all development phases of the ZeaZDev +# platform, including backend services, frontend applications, and monitoring. +# +# Usage: +# bash start-all-phases.sh [options] +# +# Options: +# --all Start all components (default) +# --backend Start backend services only +# --frontend Start frontend applications only +# --contracts Deploy/check smart contracts +# --status Show status of all phases +# --stop Stop all running services +# --help Show this help message +# +# ============================================================================= + +set -euo pipefail + +# Color codes for output +GREEN="\e[32m" +YELLOW="\e[33m" +RED="\e[31m" +BLUE="\e[34m" +CYAN="\e[36m" +RESET="\e[0m" + +# Script configuration +SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" +PROJECT_ROOT="${SCRIPT_DIR}" +LOG_DIR="${PROJECT_ROOT}/Logs" +TIMESTAMP=$(date +%Y%m%d_%H%M%S) + +# Component paths +SERVER_DIR="${PROJECT_ROOT}/server" +MINI_APP_DIR="${PROJECT_ROOT}/mini-app" +CONTRACTS_DIR="${PROJECT_ROOT}/contracts" + +# ============================================================================= +# Utility Functions +# ============================================================================= + +print_banner() { + echo -e "${CYAN}" + echo "═══════════════════════════════════════════════════════════════" + echo " 🚀 ZeaZDev - Start All Phases " + echo " Developer: PHIPHAT PHOEMSUK (ZeaZDev) " + echo " Version: 1.0.0 " + echo "═══════════════════════════════════════════════════════════════" + echo -e "${RESET}" +} + +log_info() { + echo -e "${GREEN}[INFO]${RESET} $1" +} + +log_warn() { + echo -e "${YELLOW}[WARN]${RESET} $1" +} + +log_error() { + echo -e "${RED}[ERROR]${RESET} $1" +} + +log_step() { + echo -e "${BLUE}[STEP]${RESET} $1" +} + +# ============================================================================= +# Pre-flight Checks +# ============================================================================= + +check_prerequisites() { + log_step "Checking prerequisites..." + + local missing=0 + + # Check for Node.js + if ! command -v node &> /dev/null; then + log_error "Node.js is not installed. Please install Node.js v18+ from https://nodejs.org/" + missing=1 + else + local node_version=$(node -v) + log_info "Node.js version: ${node_version}" + fi + + # Check for npm + if ! command -v npm &> /dev/null; then + log_error "npm is not installed. Please install npm." + missing=1 + else + local npm_version=$(npm -v) + log_info "npm version: ${npm_version}" + fi + + # Check for git + if ! command -v git &> /dev/null; then + log_warn "git is not installed. Version control features may be limited." + else + log_info "git is available: $(git --version)" + fi + + if [ $missing -eq 1 ]; then + log_error "Missing required dependencies. Please install them and try again." + exit 1 + fi + + log_info "All prerequisites satisfied ✓" +} + +check_directory_structure() { + log_step "Checking directory structure..." + + # Create logs directory if it doesn't exist + if [ ! -d "$LOG_DIR" ]; then + mkdir -p "$LOG_DIR" + log_info "Created logs directory: $LOG_DIR" + fi + + # Check for required directories + if [ ! -d "$SERVER_DIR" ]; then + log_warn "Server directory not found: $SERVER_DIR" + else + log_info "Server directory found ✓" + fi + + if [ ! -d "$MINI_APP_DIR" ]; then + log_warn "Mini App directory not found: $MINI_APP_DIR" + else + log_info "Mini App directory found ✓" + fi + + if [ ! -d "$CONTRACTS_DIR" ]; then + log_warn "Contracts directory not found: $CONTRACTS_DIR" + else + log_info "Contracts directory found ✓" + fi +} + +# ============================================================================= +# Installation Functions +# ============================================================================= + +install_dependencies() { + log_step "Installing dependencies for all components..." + + # Install root dependencies if package.json exists + if [ -f "${PROJECT_ROOT}/package.json" ]; then + log_info "Installing root dependencies..." + cd "$PROJECT_ROOT" + npm install || log_warn "Root npm install failed (may be normal if no dependencies)" + fi + + # Install server dependencies + if [ -d "$SERVER_DIR" ] && [ -f "${SERVER_DIR}/package.json" ]; then + log_info "Installing server dependencies..." + cd "$SERVER_DIR" + npm install || log_error "Server npm install failed" + fi + + # Install mini-app dependencies + if [ -d "$MINI_APP_DIR" ] && [ -f "${MINI_APP_DIR}/package.json" ]; then + log_info "Installing mini-app dependencies..." + cd "$MINI_APP_DIR" + npm install || log_error "Mini-app npm install failed" + fi + + # Install contracts dependencies + if [ -d "$CONTRACTS_DIR" ] && [ -f "${CONTRACTS_DIR}/package.json" ]; then + log_info "Installing contracts dependencies..." + cd "$CONTRACTS_DIR" + npm install || log_error "Contracts npm install failed" + fi + + cd "$PROJECT_ROOT" + log_info "Dependencies installation completed ✓" +} + +# ============================================================================= +# Environment Setup +# ============================================================================= + +check_environment() { + log_step "Checking environment configuration..." + + local env_missing=0 + + # Check root .env + if [ ! -f "${PROJECT_ROOT}/.env" ]; then + log_warn "Root .env file not found" + log_info "Example configuration available in README.md" + env_missing=1 + else + log_info "Root .env file found ✓" + fi + + # Check server .env + if [ -d "$SERVER_DIR" ] && [ ! -f "${SERVER_DIR}/.env" ]; then + log_warn "Server .env file not found" + log_info "Create ${SERVER_DIR}/.env based on README.md instructions" + env_missing=1 + else + [ -d "$SERVER_DIR" ] && log_info "Server .env file found ✓" + fi + + # Check mini-app .env + if [ -d "$MINI_APP_DIR" ] && [ ! -f "${MINI_APP_DIR}/.env" ]; then + log_warn "Mini-app .env file not found" + log_info "Create ${MINI_APP_DIR}/.env based on README.md instructions" + env_missing=1 + else + [ -d "$MINI_APP_DIR" ] && log_info "Mini-app .env file found ✓" + fi + + if [ $env_missing -eq 1 ]; then + log_warn "Some .env files are missing. Services may not start correctly." + log_info "Please refer to README.md for .env configuration examples." + read -p "Continue anyway? (y/N): " -n 1 -r + echo + if [[ ! $REPLY =~ ^[Yy]$ ]]; then + log_info "Aborting. Please create .env files and try again." + exit 1 + fi + fi +} + +# ============================================================================= +# Backend Services +# ============================================================================= + +start_backend() { + log_step "Starting backend services..." + + if [ ! -d "$SERVER_DIR" ]; then + log_warn "Server directory not found. Skipping backend startup." + return + fi + + cd "$SERVER_DIR" + + if [ ! -f "package.json" ]; then + log_warn "Server package.json not found. Skipping backend startup." + return + fi + + log_info "Starting backend verifier service..." + + # Check if server is already running + if lsof -Pi :3000 -sTCP:LISTEN -t >/dev/null 2>&1; then + log_warn "Port 3000 is already in use. Backend may already be running." + return + fi + + # Start server in background + nohup npm start > "${LOG_DIR}/server_${TIMESTAMP}.log" 2>&1 & + local server_pid=$! + + echo "$server_pid" > "${LOG_DIR}/server.pid" + + log_info "Backend service started (PID: ${server_pid})" + log_info "Backend logs: ${LOG_DIR}/server_${TIMESTAMP}.log" + + # Wait a moment and check if it's still running + sleep 2 + if ps -p $server_pid > /dev/null; then + log_info "Backend service is running ✓" + else + log_error "Backend service failed to start. Check logs for details." + fi + + cd "$PROJECT_ROOT" +} + +# ============================================================================= +# Frontend Applications +# ============================================================================= + +start_frontend() { + log_step "Starting frontend applications..." + + if [ ! -d "$MINI_APP_DIR" ]; then + log_warn "Mini-app directory not found. Skipping frontend startup." + return + fi + + cd "$MINI_APP_DIR" + + if [ ! -f "package.json" ]; then + log_warn "Mini-app package.json not found. Skipping frontend startup." + return + fi + + log_info "Starting mini-app with Expo..." + + # Check if expo is available + if ! command -v expo &> /dev/null; then + log_warn "Expo CLI not found globally. Using npx expo..." + fi + + # Start expo in background + nohup npm start > "${LOG_DIR}/miniapp_${TIMESTAMP}.log" 2>&1 & + local expo_pid=$! + + echo "$expo_pid" > "${LOG_DIR}/miniapp.pid" + + log_info "Mini-app started (PID: ${expo_pid})" + log_info "Mini-app logs: ${LOG_DIR}/miniapp_${TIMESTAMP}.log" + log_info "Expo DevTools will open in your browser shortly..." + + # Wait a moment and check if it's still running + sleep 3 + if ps -p $expo_pid > /dev/null; then + log_info "Mini-app is running ✓" + log_info "Scan the QR code with Expo Go app to test on your device" + else + log_error "Mini-app failed to start. Check logs for details." + fi + + cd "$PROJECT_ROOT" +} + +# ============================================================================= +# Smart Contracts +# ============================================================================= + +check_contracts() { + log_step "Checking smart contracts..." + + if [ ! -d "$CONTRACTS_DIR" ]; then + log_warn "Contracts directory not found. Skipping contracts check." + return + fi + + cd "$CONTRACTS_DIR" + + if [ ! -f "package.json" ]; then + log_warn "Contracts package.json not found. Skipping contracts check." + return + fi + + log_info "Smart contracts directory found ✓" + log_info "To deploy contracts, run: cd contracts && npx hardhat run scripts/deploy.js" + + cd "$PROJECT_ROOT" +} + +# ============================================================================= +# Status Display +# ============================================================================= + +show_status() { + log_step "Checking status of all services..." + + echo "" + echo -e "${CYAN}Service Status:${RESET}" + echo "───────────────────────────────────────────────────" + + # Check backend + if [ -f "${LOG_DIR}/server.pid" ]; then + local server_pid=$(cat "${LOG_DIR}/server.pid") + if ps -p $server_pid > /dev/null 2>&1; then + echo -e "Backend Service: ${GREEN}Running${RESET} (PID: ${server_pid})" + else + echo -e "Backend Service: ${RED}Stopped${RESET}" + fi + else + echo -e "Backend Service: ${YELLOW}Not Started${RESET}" + fi + + # Check frontend + if [ -f "${LOG_DIR}/miniapp.pid" ]; then + local expo_pid=$(cat "${LOG_DIR}/miniapp.pid") + if ps -p $expo_pid > /dev/null 2>&1; then + echo -e "Mini-app: ${GREEN}Running${RESET} (PID: ${expo_pid})" + else + echo -e "Mini-app: ${RED}Stopped${RESET}" + fi + else + echo -e "Mini-app: ${YELLOW}Not Started${RESET}" + fi + + # Check port availability + echo "" + echo -e "${CYAN}Port Status:${RESET}" + echo "───────────────────────────────────────────────────" + + if lsof -Pi :3000 -sTCP:LISTEN -t >/dev/null 2>&1; then + echo -e "Port 3000 (Backend): ${GREEN}In Use${RESET}" + else + echo -e "Port 3000 (Backend): ${YELLOW}Available${RESET}" + fi + + # Phase status + echo "" + echo -e "${CYAN}Development Phases:${RESET}" + echo "───────────────────────────────────────────────────" + echo "Phase 1 (Foundation): 95% Complete" + echo "Phase 2 (Core Features): Planned (Q2 2025)" + echo "Phase 3 (Advanced Features): Planned (Q3 2025)" + echo "Phase 4 (Enterprise): Planned (Q4 2025)" + echo "" + echo "For detailed phase status, see: PHASE_STATUS.md" +} + +# ============================================================================= +# Stop Services +# ============================================================================= + +stop_services() { + log_step "Stopping all services..." + + local stopped=0 + + # Stop backend + if [ -f "${LOG_DIR}/server.pid" ]; then + local server_pid=$(cat "${LOG_DIR}/server.pid") + if ps -p $server_pid > /dev/null 2>&1; then + kill $server_pid + log_info "Stopped backend service (PID: ${server_pid})" + stopped=1 + fi + rm -f "${LOG_DIR}/server.pid" + fi + + # Stop frontend + if [ -f "${LOG_DIR}/miniapp.pid" ]; then + local expo_pid=$(cat "${LOG_DIR}/miniapp.pid") + if ps -p $expo_pid > /dev/null 2>&1; then + kill $expo_pid + log_info "Stopped mini-app (PID: ${expo_pid})" + stopped=1 + fi + rm -f "${LOG_DIR}/miniapp.pid" + fi + + if [ $stopped -eq 0 ]; then + log_info "No services were running." + else + log_info "All services stopped ✓" + fi +} + +# ============================================================================= +# Help Message +# ============================================================================= + +show_help() { + cat << EOF +Usage: bash start-all-phases.sh [options] + +Options: + --all Start all components (default) + --backend Start backend services only + --frontend Start frontend applications only + --contracts Check smart contracts status + --status Show status of all phases and services + --stop Stop all running services + --install Install dependencies only + --help Show this help message + +Examples: + bash start-all-phases.sh # Start all components + bash start-all-phases.sh --backend # Start backend only + bash start-all-phases.sh --status # Check status + bash start-all-phases.sh --stop # Stop all services + +Environment Setup: + Before running, ensure you have configured .env files: + - ${PROJECT_ROOT}/.env (optional, for legacy scripts) + - ${SERVER_DIR}/.env (required for backend) + - ${MINI_APP_DIR}/.env (required for mini-app) + +See README.md for detailed configuration instructions. + +Developer: PHIPHAT PHOEMSUK (ZeaZDev) +Email: admin@zeaz.dev +Website: https://app.zeaz.dev +EOF +} + +# ============================================================================= +# Main Execution +# ============================================================================= + +main() { + print_banner + + # Parse command line arguments + local mode="${1:---all}" + + case "$mode" in + --help|-h) + show_help + exit 0 + ;; + --status) + show_status + exit 0 + ;; + --stop) + stop_services + exit 0 + ;; + --install) + check_prerequisites + check_directory_structure + install_dependencies + log_info "Installation completed ✓" + exit 0 + ;; + --backend) + check_prerequisites + check_directory_structure + check_environment + start_backend + show_status + ;; + --frontend) + check_prerequisites + check_directory_structure + check_environment + start_frontend + show_status + ;; + --contracts) + check_prerequisites + check_directory_structure + check_contracts + ;; + --all) + check_prerequisites + check_directory_structure + check_environment + install_dependencies + echo "" + start_backend + echo "" + start_frontend + echo "" + check_contracts + echo "" + show_status + ;; + *) + log_error "Unknown option: $mode" + echo "" + show_help + exit 1 + ;; + esac + + echo "" + echo -e "${GREEN}═══════════════════════════════════════════════════════════════${RESET}" + echo -e "${GREEN} ZeaZDev - All phases initialized successfully! 🚀 ${RESET}" + echo -e "${GREEN}═══════════════════════════════════════════════════════════════${RESET}" + echo "" + log_info "Next Steps:" + echo " 1. Check PHASE_STATUS.md for development roadmap" + echo " 2. Visit http://localhost:3000 for backend API" + echo " 3. Scan QR code in Expo DevTools to test Mini App" + echo " 4. Check logs in ${LOG_DIR}/ for debugging" + echo "" +} + +# Run main function +main "$@" From 8e2982fa0f96c8cf9d45508c7b64e60b3cf7c661 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 9 Nov 2025 19:35:22 +0000 Subject: [PATCH 3/3] Add Quick Start guide and finalize phase startup system Co-authored-by: CVSz <4076926+CVSz@users.noreply.github.com> --- QUICK_START.md | 185 +++++++++++++++++++++++++++++++++++++++++++++++++ README.md | 4 ++ 2 files changed, 189 insertions(+) create mode 100644 QUICK_START.md diff --git a/QUICK_START.md b/QUICK_START.md new file mode 100644 index 0000000..436ba7d --- /dev/null +++ b/QUICK_START.md @@ -0,0 +1,185 @@ +# 🚀 Quick Start Guide - All Phases + +This guide helps you get started with the ZeaZDev platform quickly. + +## Prerequisites + +Before you begin, ensure you have: +- **Node.js v18+** installed ([download here](https://nodejs.org/)) +- **npm** (comes with Node.js) +- **Git** for version control + +## Quick Start Commands + +### 🎯 Start Everything (Recommended) +```bash +bash start-all-phases.sh --all +``` + +This will: +1. Check prerequisites +2. Install dependencies +3. Start backend service +4. Start mini-app with Expo +5. Show service status + +### 📊 Check Status +```bash +bash start-all-phases.sh --status +``` + +Shows: +- Running services (backend, frontend) +- Port availability +- Phase completion percentages + +### 🛑 Stop All Services +```bash +bash start-all-phases.sh --stop +``` + +Cleanly stops all running services. + +### 📦 Install Dependencies Only +```bash +bash start-all-phases.sh --install +``` + +Installs dependencies without starting services. + +## Component-Specific Commands + +### Backend Only +```bash +bash start-all-phases.sh --backend +``` + +### Frontend Only +```bash +bash start-all-phases.sh --frontend +``` + +### Smart Contracts Check +```bash +bash start-all-phases.sh --contracts +``` + +## Environment Setup + +Before running services, create these `.env` files: + +### 1. Server Environment (`server/.env`) +```bash +# Server Configuration +PORT=3000 + +# World ID Configuration +WORLD_APP_ID=app_staging_your_app_id_here +WORLD_APP_API_KEY=api_your_secret_api_key_here +WORLD_ACTION_ID=verify-humanity_your_action_id + +# Blockchain Configuration +RPC_URL=https://worldchain-mainnet.g.alchemy.com/v2/your-key +RELAYER_PRIVATE_KEY=0xYOUR_RELAYER_PRIVATE_KEY + +# Contract Addresses (update after deployment) +WORLD_ID_REWARDS_CONTRACT=0x0000000000000000000000000000000000000000 +ZEA_TOKEN_CONTRACT=0x0000000000000000000000000000000000000000 +``` + +### 2. Mini-App Environment (`mini-app/.env`) +```bash +# World ID Configuration +WORLD_APP_ID=app_staging_your_app_id_here +WORLD_ACTION_ID=verify-humanity_your_action_id + +# API Configuration +API_URL=http://localhost:3000 +RPC_URL=https://worldchain-mainnet.g.alchemy.com/v2/your-key +``` + +## Testing the Application + +### 1. Backend API Test +```bash +curl http://localhost:3000 +``` + +### 2. Mini-App Test +1. Scan the QR code in Expo DevTools +2. Open in Expo Go app on your device +3. Test World ID verification +4. Test wallet, rewards, and swap features + +## Phase Tracking + +### View Current Phase Status +```bash +cat PHASE_STATUS.md +``` + +### Current Status (as of 2025-11-09) +- **Phase 1 (Foundation):** 95% Complete ✅ +- **Phase 2 (Core Features):** Planned (Q2 2025) 🟡 +- **Phase 3 (Advanced Features):** Planned (Q3 2025) 🟡 +- **Phase 4 (Enterprise & Scaling):** Planned (Q4 2025) 🟡 + +## Troubleshooting + +### Port 3000 Already in Use +```bash +# Find process using port 3000 +lsof -i :3000 + +# Kill the process +kill -9 + +# Or use the stop command +bash start-all-phases.sh --stop +``` + +### Dependencies Not Installing +```bash +# Clear npm cache +npm cache clean --force + +# Try installing again +bash start-all-phases.sh --install +``` + +### Services Not Starting +1. Check logs in `Logs/` directory +2. Verify `.env` files are configured +3. Ensure no other services are using required ports + +## Log Files + +All logs are stored in `Logs/` directory: +- `server_.log` - Backend service logs +- `miniapp_.log` - Mini-app logs +- `server.pid` - Backend process ID +- `miniapp.pid` - Mini-app process ID + +## Next Steps + +1. ✅ Configure `.env` files +2. ✅ Run `bash start-all-phases.sh --all` +3. ✅ Test backend API at http://localhost:3000 +4. ✅ Test mini-app on your device +5. ✅ Check `PHASE_STATUS.md` for development roadmap + +## Getting Help + +```bash +# Show all available options +bash start-all-phases.sh --help +``` + +**Support:** +- Email: admin@zeaz.dev +- Website: https://app.zeaz.dev +- GitHub: https://github.com/ZeaZDev + +--- + +*For detailed documentation, see [README.md](README.md) and [ROADMAP.md](ROADMAP.md)* diff --git a/README.md b/README.md index 32ac0c3..4eb7d43 100644 --- a/README.md +++ b/README.md @@ -49,6 +49,10 @@ ZeaZDev is a production-ready World App Mini App that uses Zero-Knowledge Proof ## 🚀 Getting Started +**⚡ Quick Start:** For the fastest way to get started, see [QUICK_START.md](QUICK_START.md) - includes a one-command setup! + +**📊 Phase Tracking:** Check [PHASE_STATUS.md](PHASE_STATUS.md) to see the development roadmap and track progress across all phases. + ### Prerequisites Before you begin, ensure you have the following installed and configured: