â ī¸ Deployment Configuration Issue
Your app is deployed but needs backend services to function
đ´ Current Problem
The application is trying to call backend API endpoints (/api/claude, /api/openai) that don't exist on your static web server at iwant2study.org. This causes the "Backend proxy error: 404" message.
âšī¸ Why This Happens
This application requires a Node.js backend server to securely proxy API calls to AI services (Claude, OpenAI, Gemini). When deployed as static files only, these backend endpoints are not available.
â
Solution Options
Option 1: Deploy with Node.js Backend
- Check if iwant2study.org supports Node.js hosting
- Upload all project files (not just dist folder)
- Run
npm install on the server
- Set up environment variables (.env file with API keys)
- Start the server with
node server.js
Option 2: Use a Cloud Backend Service
- Deploy the backend to Vercel, Netlify, or Render
- Update the app to use the cloud backend URL
- Keep the frontend on iwant2study.org
Option 3: Run Locally Instead
- Run
npm run dev on your local machine
- Access at
http://localhost:5173
- All features will work with your local backend