🚀 API Status & Health
📊 API Status RUNNING
Check the overall API status and available endpoints.
View API Status
GET http://localhost:8000/
❤️ Health Check RUNNING
Verify the API is healthy and responding correctly.
Health Check
GET http://localhost:8000/health
🔌 Database & Connection
🗄️ Supabase Connection Test TEST
Test the connection to your Supabase database and verify credentials.
Test Connection
GET http://localhost:8000/test-connection
🔍 Job Search Functionality
📱 Job Search API TEST
Test the job search functionality with a web interface. Enter search terms and user ID.
Test Job Search
POST http://localhost:8000/job-search
Body: {"search": "welder", "uid": "user-123"}
Body: {"search": "welder", "uid": "user-123"}
📋 Direct API Testing
Use these curl commands to test the API directly from terminal.
# Test API Status
curl http://localhost:8000/
# Test Health Check
curl http://localhost:8000/health
# Test Supabase Connection
curl http://localhost:8000/test-connection
# Test Job Search
curl -X POST http://localhost:8000/job-search \
-H "Content-Type: application/json" \
-d '{"search": "welder", "uid": "test-user-123"}'
curl http://localhost:8000/
# Test Health Check
curl http://localhost:8000/health
# Test Supabase Connection
curl http://localhost:8000/test-connection
# Test Job Search
curl -X POST http://localhost:8000/job-search \
-H "Content-Type: application/json" \
-d '{"search": "welder", "uid": "test-user-123"}'
📚 Documentation
📖 API Documentation
Available endpoints and their usage.
GET / - API status and endpoints
GET /health - Health check
GET /test-connection - Test Supabase connection
POST /job-search - Search jobs (requires JSON body)
GET /health - Health check
GET /test-connection - Test Supabase connection
POST /job-search - Search jobs (requires JSON body)