This guide helps users get the URL Monitor Pro application fully set up.
- Node.js 18+ installed
- A Solana wallet (Phantom recommended)
- MongoDB Atlas account (for database)
- Git (for cloning repository)
git clone <your-repo-url>
cd url-monitor
npm install- Go to MongoDB Atlas
- Create a free cluster
- Click "Connect" → "Drivers" → Copy connection string
- Create
.env.localfile inurl-monitor/directory - Add:
MONGODB_URI=mongodb+srv://username:password@cluster.mongodb.net/url-monitor
NODE_ENV=developmentnpm run devVisit: http://localhost:3000
✅ You should see:
- URL Monitor Pro header
- "Connect Phantom" button
- Setup notice banner
- Phantom Browser Extension
- Install on Chrome, Firefox, or Edge
- Create or import wallet
- Click "🔐 Connect Phantom" button
- Approve in Phantom popup
- See wallet address displayed
- You're now authenticated!
✅ Next: Start adding sites to monitor
See REWARDS_SETUP.md for complete instructions.
Quick Summary:
- Add environment variables to
.env.local:
REWARD_WALLET_ADDRESS=your_wallet_address
REWARD_WALLET_PRIVATE_KEY=your_private_key
SOLANA_RPC_URL=https://api.devnet.solana.com- Fund wallet with SOL
- Restart dev server
- Users can now earn SOL for reporting issues!
npm install -g vercel
vercelFollow prompts, add environment variables in Vercel dashboard.
- Go to Railway.app
- Connect GitHub repo
- Add environment variables
- Deploy!
docker build -t url-monitor .
docker run -p 3000:3000 -e MONGODB_URI=... url-monitor| Variable | Description | Example |
|---|---|---|
MONGODB_URI |
MongoDB connection | mongodb+srv://... |
NODE_ENV |
Environment | development or production |
| Variable | Description | How to Get |
|---|---|---|
REWARD_WALLET_ADDRESS |
SOL wallet sending rewards | Phantom → Copy address |
REWARD_WALLET_PRIVATE_KEY |
Wallet private key | Phantom → Export key |
SOLANA_RPC_URL |
Solana endpoint | https://api.devnet.solana.com |
.gitignore:
.env.local
.env.*.local
node_modules/
.next/
- Connect wallet
- Enter URL:
https://www.google.com - Click "🚀 Monitor This Site"
- Should appear in "Monitored Sites" list
- Click "🚨 Report Issue & Earn SOL" on any site
- Describe problem (min 10 characters)
- Click "Submit Report"
- If site is DOWN → Earn SOL! 💰
- Connect second wallet via wallet manager dropdown
- Switch between wallets
- Each wallet shows only their sites
- Install Phantom extension
- Refresh page
- Try different browser
- Check Phantom is enabled
- Check
.env.localexists - Verify connection string is correct
- Restart dev server after changes
- Check if wallet is connected
- Try disconnecting and reconnecting
- Refresh page
- Check if
REWARD_WALLET_ADDRESSin.env.local - Fund wallet with SOL
- Restart server
- Check browser console for errors
- Ensure all required environment variables are set
- Check Node.js version:
node --version(should be 18+) - Clear build cache:
npm run build
- ✅ Read REWARDS_SETUP.md to enable rewards
- ✅ Deploy to production
- ✅ Share with community
- ✅ Monitor sites and earn SOL!
-
.env.localis in.gitignore - Never committed private keys
- Using
https://URLs only - MongoDB password is strong
- Wallet private key stored securely
- Reward wallet funded appropriately
- Solana Docs: https://docs.solana.com
- Phantom Help: https://help.phantom.app
- Next.js Docs: https://nextjs.org/docs
- MongoDB Docs: https://docs.mongodb.com
Ready to launch? 🚀 Start with Phase 1, then Phase 2, and optionally Phase 3!