Introduces a new analytics router with endpoints for overview, study time, mastery, reviews, sessions, and notes statistics. Adds AnalyticsService to compute learning metrics. Updates models to support note view counts and session durations, and registers the analytics router in the main app.
Add FastAPI backend for an AI-powered adaptive learning platform, including configuration, database models (users, sessions, messages, concepts, notes, quizzes, agents), routers for chat, notes, and review endpoints, and supporting services. Includes Dockerfile, environment/example files, and project metadata for Python 3.12 with async support and modern dependency management.