- Add AIReportSystem.js for detailed AI response capture and report generation - Add AIReportInterface.js UI component for report access and export - Integrate AI reporting into LLMValidator and SmartPreviewOrchestrator - Add missing modules to Application.js configuration (unifiedDRS, smartPreviewOrchestrator) - Create missing content/chapters/sbs.json for book metadata - Enhance Application.js with debug logging for module loading - Add multi-format export capabilities (text, HTML, JSON) - Implement automatic learning insights extraction from AI feedback - Add session management and performance tracking for AI reports 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
31 lines
665 B
Batchfile
31 lines
665 B
Batchfile
@echo off
|
|
echo 🧪 Testing API endpoints...
|
|
echo.
|
|
|
|
echo 📚 Testing /api/books:
|
|
curl -s http://localhost:8080/api/books | findstr "id"
|
|
if %errorlevel% equ 0 (
|
|
echo ✅ API /api/books works!
|
|
) else (
|
|
echo ❌ API /api/books failed!
|
|
)
|
|
|
|
echo.
|
|
echo 📄 Testing JSON file access:
|
|
curl -s http://localhost:8080/src/chapters/sbs.json | findstr "name"
|
|
if %errorlevel% equ 0 (
|
|
echo ✅ JSON file access works!
|
|
) else (
|
|
echo ❌ JSON file access failed!
|
|
)
|
|
|
|
echo.
|
|
echo 🏠 Testing homepage:
|
|
curl -s http://localhost:8080/ | findstr "currentBookId"
|
|
if %errorlevel% equ 0 (
|
|
echo ✅ Dynamic frontend loaded!
|
|
) else (
|
|
echo ❌ Frontend issue!
|
|
)
|
|
|
|
pause |