Project Detail

AI Study Assistant

A secure Spring Boot backend for homework uploads, AI feedback, response validation and study history.

The Problem

Students need fast feedback on homework, but image uploads, AI responses, grading history and user privacy require more than a simple prompt wrapper.

The backend needed clear ownership checks, resilient OpenAI integration, consistent error mapping and API documentation for frontend collaboration.

Project Interface

AI-Learning public landing page

Public landing page and authenticated product screens from AI-Learning.

Product Flow Screens

The Solution

The service uses JWT authentication with RBAC, BCrypt password hashing and ownership checks before accessing user study data.

OpenAI calls are wrapped with structured prompts, timeout handling, usage logging, response validation and predictable service-layer exceptions.

Client Homework image upload and study history requests through documented REST endpoints.
Spring Boot API Security filters, controllers, services, validation and error mapping.
Data and AI PostgreSQL persistence, Cloudinary media storage and OpenAI response generation.