Phase 3.1: Enhanced Chore Logging and Reporting System
This commit is contained in:
29
test_backend_api.bat
Normal file
29
test_backend_api.bat
Normal file
@@ -0,0 +1,29 @@
|
||||
@echo off
|
||||
echo ========================================
|
||||
echo Testing Backend API Connection
|
||||
echo ========================================
|
||||
echo.
|
||||
|
||||
echo Testing if backend is running on http://localhost:8001...
|
||||
echo.
|
||||
|
||||
curl -X GET http://localhost:8001/health
|
||||
echo.
|
||||
echo.
|
||||
|
||||
echo Testing login endpoint with jess/password123...
|
||||
echo.
|
||||
|
||||
curl -X POST http://localhost:8001/api/v1/auth/login ^
|
||||
-H "Content-Type: application/x-www-form-urlencoded" ^
|
||||
-d "username=jess&password=password123"
|
||||
echo.
|
||||
echo.
|
||||
|
||||
echo ========================================
|
||||
echo.
|
||||
echo If you see "healthy" above, backend is running correctly.
|
||||
echo If you see a token response, login is working!
|
||||
echo If you see connection errors, the backend is not running.
|
||||
echo.
|
||||
pause
|
||||
Reference in New Issue
Block a user