The AI-Assisted Student University Learning Platform is an intelligent system designed to support students in organizing their academic journey. It offers AI-generated course roadmaps, curated topic-wise resources, and auto-generated quizzes. Built with FastAPI, the backend is integrated with Gemini Studio API to dynamically extract content based on the course syllabus and user progress.
The backend of this platform is built using FastAPI, a modern, high-performance Python web framework. The system interacts with the Gemini Studio API for various AI-powered features, such as:
- Course roadmap generation from a given syllabus.
- Topic-wise study resources extraction (books, chapters, and websites).
- Quiz question generation for each week's topics.
The Gemini API responses are formatted in JSON and parsed through a three-level nested loop before being saved to the database.
- Roadmap Generation: Based on course syllabus and duration input.
- Topic Resources: Triggered upon a student opening a topic for the first time.
- Quiz Questions: Generated for topics of a given week.
POST /start-semester
– Start a new semesterGET /semesters
– Fetch all semestersGET /courses
– Get all coursesGET /course-statistics
– View statistics of a courseGET /topics
– Retrieve all topicsGET /topic-resources/{topic_id}
– Fetch AI-generated resources for a topicPOST /start-quiz
– Initiate quiz for a topic/weekPOST /submit-quiz
– Submit completed quizGET /academics
– View academic recordsGET /attendance
– View attendance recordsPUT /update-marks
– Update marks for a studentPUT /update-attendance
– Update attendance for a studentPUT /update-topic-status
– Update status of a topic (e.g., started, completed)
- Database: PostgreSQL
- ORM and Migrations: Implemented using SQLAlchemy and Alembic.
- All schemas and tables (e.g., Courses, Topics, Users, QuizResults) are created and managed via migrations.
A simple JWT-based authentication system is implemented for secure access to the APIs. Upon login, a token is issued which must be included in the headers of protected routes.
- Backend Framework: FastAPI
- AI Integration: Gemini Studio API
- Database: PostgreSQL
- ORM: SQLAlchemy
- Migrations: Alembic
- Authentication: JWT Tokens
The frontend of this platform is built using React Js and Tailwind CSS and can be found here: Frontend Repository