A Spring Boot backend application providing a conversational interface with support for AI-driven chat, text paraphrasing, and multi-language translations powered by OpenRouter.
- AI-Powered LLM Integration: Multi-model AI capabilities (chat, paraphrasing, translation) routed through the OpenRouter API.
- Conversation & Chat Management: Create conversations, manage context, and persist message histories.
- Asynchronous Paraphrasing: Non-blocking background generation and storage of paraphrased text tied to specific messages.
- Asynchronous Translation: Non-blocking background translation processing for incoming/outgoing chat messages.
- Authentication & Authorization: Stateless security via JWT (JSON Web Tokens) and custom security filters.
- Centralized Exception Handling: Custom business exceptions (
BusinessException) handled globally viaGlobalExceptionHandler.
- Language: Java 17+ / 21, TypeScript
- Framework: Spring Boot, React
- Version Control: Git
- AI Provider: OpenRouter API
- Security: Spring Security, JWT (JJWT)
- Persistence: Spring Data JPA / Hibernate
- Async Processing: Spring
@Async/ TaskExecutors - Architecture: Layered Architecture (Controller - Service - Repository - Entity/DTO)