Backend API URL: https://trustlesstask-1.onrender.com
- ✅ Build successful
- ✅ Server running on port 10000
- ✅ Database initialized
- ✅ API endpoints ready
The CORS errors you see are expected - they occur when accessing the API directly without a frontend. The API will work perfectly when called from your frontend.
- Go to https://vercel.com/dashboard
- Find your TrustlessTask project
- Go to Settings → Environment Variables
- Add/Update these variables:
VITE_API_URL=https://trustlesstask-1.onrender.com/api/v1 VITE_BLOCKFROST_PROJECT_ID=preprodJWXJGPovY8gGA1Seasf8gaTnYFZ88rzP VITE_NETWORK=preprod - Go to Settings → General → Root Directory
- Set to:
frontend - Save and go to Deployments
- Click Redeploy
cd frontend
vercel --prodWhen prompted for environment variables, add:
VITE_API_URL: https://trustlesstask-1.onrender.com/api/v1VITE_BLOCKFROST_PROJECT_ID: preprodJWXJGPovY8gGA1Seasf8gaTnYFZ88rzPVITE_NETWORK: preprod
- API: https://trustlesstask-1.onrender.com
- Health Check: https://trustlesstask-1.onrender.com/health
- Projects API: https://trustlesstask-1.onrender.com/api/v1/projects
- Will be available after deployment
- Example: https://trustlesstask.vercel.app
curl https://trustlesstask-1.onrender.com/health
# Should return: {"status":"ok","timestamp":"..."}
curl https://trustlesstask-1.onrender.com/api/v1/projects
# Should return: []- Visit your Vercel URL
- Connect Cardano wallet
- Create a test project
- Verify it saves to backend
- Mark milestone as complete (1 ADA transaction)
- Approve and release funds (full payment transaction)
- Verify on Cardano explorer
Set these in Render dashboard:
NODE_ENV=production
PORT=10000
BLOCKFROST_PROJECT_ID=preprodJWXJGPovY8gGA1Seasf8gaTnYFZ88rzP
CARDANO_NETWORK=preprod
Set these in Vercel dashboard:
VITE_API_URL=https://trustlesstask-1.onrender.com/api/v1
VITE_BLOCKFROST_PROJECT_ID=preprodJWXJGPovY8gGA1Seasf8gaTnYFZ88rzP
VITE_NETWORK=preprod
- ✅ Express API server
- ✅ LowDB database
- ✅ CORS configured for frontend
- ✅ Rate limiting
- ✅ All API endpoints
- ✅ Cardano transaction support
- ✅ React + Vite app
- ✅ Wallet connection (Nami, Lace, Eternl, Flint)
- ✅ Project management
- ✅ Real blockchain transactions
- ✅ Connected to backend API
- Backend may sleep after 15 minutes of inactivity
- First request after sleep takes ~30 seconds to wake up
- Upgrade to paid plan for always-on service
- Frontend is always fast
- No sleep time
- Unlimited bandwidth for hobby projects
- Currently using LowDB (JSON file)
- Data persists on Render
- For production, consider MongoDB Atlas or PostgreSQL
- Environment variables set correctly
- CORS configured for your frontend domain
- Blockfrost API key is valid
- No sensitive data in code
- HTTPS enabled (automatic on Render/Vercel)
After frontend deployment, you should see:
- ✅ Frontend loads at Vercel URL
- ✅ Backend API responds to requests
- ✅ Wallet connection works
- ✅ Projects can be created
- ✅ Blockchain transactions work
- ✅ Data persists between sessions
Backend URL: https://trustlesstask-1.onrender.com Status: ✅ Live and Running
Next: Deploy frontend to Vercel with the backend URL configured!
Deployment Date: December 15, 2024 Backend: Render.com Frontend: Vercel (pending) Status: Backend ✅ | Frontend ⏳