2.3 KiB
2.3 KiB
LUMINA - QUICK START GUIDE
๐ Start Everything (3 Commands)
# Terminal 1 - API Server
cd /Users/arhansubasi/lumina/lumina/api && node api.js
# Terminal 2 - Frontend Dev Server
cd /Users/arhansubasi/lumina/lumina/ui && pnpm dev-server
# Terminal 3 - Test API
curl "http://localhost:3000/explorer/public/ledger/recent?limit=1" | jq '.'
๐ Open in Browser
- Homepage: http://localhost:9001
- 3D Explorer: http://localhost:9001/graph/3d/public
- Assets: http://localhost:9001/explorer/public/asset
- Markets: http://localhost:9001/explorer/public/market
๐งช Test API Endpoints
# Latest ledgers
curl "http://localhost:3000/explorer/public/ledger/recent?limit=5"
# Latest transactions
curl "http://localhost:3000/explorer/public/tx/recent?limit=5"
# Account details (use any Stellar address)
curl "http://localhost:3000/explorer/public/account/GAAZI4TCR3TY5OJHCTJC2A4QM6OQGR2O5HFZZEDC2LGDCWNLMXYPVUQZ/details"
# Account transactions
curl "http://localhost:3000/explorer/public/account/GAAZI4TCR3TY5OJHCTJC2A4QM6OQGR2O5HFZZEDC2LGDCWNLMXYPVUQZ/transactions?limit=10"
# Live transaction stream (Ctrl+C to stop)
curl -N "http://localhost:3000/stream/transactions/public"
๐ Troubleshooting
API won't start
# Check if port 3000 is in use
lsof -i :3000
# Kill if needed
kill -9 <PID>
Frontend won't start
# Check if port 9001 is in use
lsof -i :9001
# Kill if needed
kill -9 <PID>
API returns errors
# Check logs
tail -50 /tmp/lumina-api.log
Frontend shows blank page
- Check browser console (F12)
- Verify API is running:
curl http://localhost:3000/explorer/public/ledger/recent - Clear browser cache (Cmd+Shift+R on Mac)
๐ What Should Work Now
โ Homepage shows latest ledgers โ API returns live data from Horizon โ Account pages work โ Transaction history works โ 3D page connects to stream โ Navigation doesn't crash
๐ Read More
COMPREHENSIVE_PLAN.md- Full 6-week roadmapIMPLEMENTATION_DONE.md- What we builtSTATUS.md- Current statusIMMEDIATE_ACTIONS.md- Next steps
๐ Need Help?
Check these files in order:
STATUS.md- Current stateIMPLEMENTATION_DONE.md- What's implementedCOMPREHENSIVE_PLAN.md- Future plans