=== Testing API Endpoints === 1. Testing Health Endpoint... ❌ Health endpoint failed Error: file_get_contents(http://127.0.0.1:8000/api/v1/health): Failed to open stream: Connection refused 2. Testing API Routes... Health: GET /api/v1/health Login: POST /api/v1/auth/login Register: POST /api/v1/auth/register Profile: GET /api/v1/auth/profile (requires auth) Podcasts Public: GET /api/v1/podcasts/public Episodes Public: GET /api/v1/episodes/public 3. Testing Database Connection... ✅ Database connection successful ✅ Users count: 4 ✅ Podcasts count: 7 4. Testing JWT Configuration... ✅ JWT TTL: 10080 minutes ✅ JWT Algorithm: HS256 5. Testing Auth Configuration... ✅ API Guard: jwt === Test Summary === If you see ✅ marks, your backend is working properly. If you see ❌ marks, there are issues that need to be fixed. To test with your mobile app: 1. Make sure your app points to: http://127.0.0.1:8000/api/v1 2. Use the login endpoint: POST /api/v1/auth/login 3. Include the JWT token in Authorization header: Bearer {token} Test completed.