code-server/cursor-fullstack/cloudflare/test-backend.sh
Cursor Agent bc65736be3 feat: Add backend deployment scripts and worker code
This commit introduces scripts for deploying the backend to Cloudflare Workers, including fixes for upload issues and token verification. It also includes the `simple-backend.js` worker code with observability features and endpoints for health checks, AI providers, chat, tools, and workspace files.

Co-authored-by: fekofal332 <fekofal332@reaxu.com>
2025-10-13 10:57:57 +00:00

17 lines
No EOL
503 B
Bash
Executable file

#!/bin/bash
echo "🔍 اختبار الباكيند..."
echo "1. اختبار /health:"
curl -s https://cursor-backend.workers.dev/health
echo -e "\n\n2. اختبار /api/providers:"
curl -s https://cursor-backend.workers.dev/api/providers
echo -e "\n\n3. اختبار /api/tools:"
curl -s https://cursor-backend.workers.dev/api/tools
echo -e "\n\n4. اختبار /api/workspace/files:"
curl -s https://cursor-backend.workers.dev/api/workspace/files
echo -e "\n\n✅ انتهى الاختبار"