Spaces:
Sleeping
Sleeping
Commit History
-
chore: Phase 2 - Clean root directory and verify structure
AI Development Team- Removed redundant documentation files (9 files) - Verified legacy folders already deleted (ai-textbook-backend, hf-spaces, node_modules) - Verified Spec-Kit folders remain intact (.specify, history, specs) - Confirmed README files exist for root, frontend, and backend - Root directory now contains only: backend/, frontend/, history/, specs/, README.md, CLAUDE.md ✅ T005-T015: Phase 2 Foundational cleanup completeb07a1e9 -
feat: Complete Feature 006 - Dynamic Urdu Translation (#2)
Naveed247365 +1: Claude Sonnet 4.5* feat: Implement Feature 005 - Personalized Book Experience Complete implementation of personalized learning roadmaps with JWT authentication, database persistence, and AI-powered content adaptation. ## Backend Changes ### New Components - backend/database/db.py: Neon Postgres connection management with SQLAlchemy - backend/database/models.py: User and Personalization database models - backend/auth/jwt_utils.py: JWT token generation/verification and password hashing ### Modified Components - backend/api/auth.py: Complete rewrite with proper JWT authentication * POST /api/auth/signup: Create user with background, return JWT * POST /api/auth/login: Verify credentials, return JWT * GET /api/auth/profile: Get user profile (requires JWT) * Input validation (email, password strength, background length) * Mock mode fallback for testing without database - backend/main.py: Database initialization on startup * Call init_db() in startup event * Health check shows database stat…bcb151a