- GitHub account with this repo pushed
- Railway account (free tier available)
- AURA API Key - Get from aura.adex.network
- OpenRouter API Key - Get from openrouter.ai
git add .
git commit -m "Ready for Railway"
git push origin main- Go to railway.app
- Click "New Project" → "Deploy from GitHub repo"
- Select this repository
- Wait for initial deployment ⏳
- Click "+ New" → "Database" → "PostgreSQL"
- Railway auto-sets
DATABASE_URL✅
Click your web service → "Variables" → Add these:
AURA_API_KEY=your-aura-api-key
OPENROUTER_API_KEY=your-openrouter-key
NODE_ENV=productionOptional:
SWAP_API_KEY=your-0x-api-keySave → Railway auto-redeploys 🔄
Option A - Railway CLI:
npm install -g @railway/cli
railway login
railway link
railway run npm run db:pushOption B - In Deploy Command: Temporarily set start command to:
npm run db:push && npm start
- "Settings" → "Networking" → "Generate Domain"
- Copy your URL:
https://your-app.up.railway.app
# Health check
curl https://your-app.up.railway.app/api/health
# MCP endpoint (for ChatGPT)
curl -X POST https://your-app.up.railway.app/mcp \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'
# Web chat (open in browser)
https://your-app.up.railway.app/chat
# Landing page
https://your-app.up.railway.app/- ✅ Service status: Active
- ✅ Deployment: Success
- ✅ Health endpoint returns
{"success": true} - ✅ MCP endpoint lists 10+ tools
- ✅ Web chat loads with AURA Engine interface
- ✅ Database tables created
ChatGPT Custom Tool endpoint with 10+ DeFi tools:
- Portfolio analysis
- Token swaps
- Strategy recommendations
- Risk management
Standalone chat interface with:
- AIVA-inspired design
- Model selector (GPT-4/Claude/Gemini)
- Chat history
- MetaMask integration
Web-based swap interface with:
- Multi-chain support (100+ DEXes)
- Best execution routes
- MetaMask wallet signing
Modern homepage with feature showcase
Railway Free Tier:
- $5 credit/month
- Perfect for testing
Estimated Monthly:
- ~$10-15/month for production
- PostgreSQL + Web Service
API Costs:
- AURA API: FREE (currently)
- OpenRouter: ~$0.001-0.01/message
- 0x Swap: FREE
- Check logs in "Deployments" tab
- Verify all dependencies in
package.json
- Ensure PostgreSQL service is running
- Run
npm run db:pushto initialize
- Wait for full deployment (check logs)
- Test health endpoint first
- Verify in "Variables" tab
- Must have:
AURA_API_KEY,OPENROUTER_API_KEY DATABASE_URLandPORTare auto-set
- Go to ChatGPT GPTs
- Create new GPT → "Actions"
- Add action:
https://your-app.up.railway.app/mcp
Send users to:
https://your-app.up.railway.app/chat
Railway "Settings" → "Networking" → "Custom Domain"
All 23+ tools are FREE to use:
- ✅ Portfolio analysis across 200+ blockchains
- ✅ Token swaps via 100+ DEXes
- ✅ AI-powered strategy recommendations
- ✅ Risk management & alerts
- ✅ Real-time pricing
Welcome to AURA Engine! 🚀
- Detailed Guide:
RAILWAY_SETUP_GUIDE.md - Full Deployment:
RAILWAY_DEPLOYMENT.md - API Docs: See
/docsfolder
Need help? Check the detailed guides or Railway docs at docs.railway.app