How daifmx/itesm_oracle_oci works
1. This repository is a full-stack project management system, but the code structure is closer to a single Spring Boot backend with an embedded React frontend than to multiple separately deployed application services. The backend is the system boundary that exposes APIs, persists data, and hosts integration logic.
2. The main runtime is Java 17 with Spring Boot. The backend entry point is MyTodoListApplication, and the server layer is organized by feature controllers: authentication, users, teams, projects, sprints, tasks, comments, employees, chat, and Telegram bot integration. This is the primary application API surface.
3. The frontend is a Vite/React SPA under src/main/frontend. It includes a routed UI for login, dashboards, kanban, projects, sprints, todos, and user management. The React app consumes backend REST APIs through shared client helpers in src/lib, and includes reusable UI components plus dashboard/kanban-specific component trees.
4. The core data flow is: browser UI → React API client → Spring REST controllers → service layer → repositories → database. The domain model is centered on Task, Project, Sprint, Team, Employee, Comment, and RefreshToken, which gives the system its project-management and KPI-tracking shape.
5. Security is a first-class boundary. Authentication is JWT-based, enforced by JwtAuthFilter and configured through Spring Security. The presence of refresh-token entities and auth DTOs indicates short-lived access tokens plus token renewal. CORS configuration is explicitly separated, which matters because the frontend is deployed as a distinct client even if packaged with the backend.
6. The database layer is repository-driven and backed by Oracle-oriented configuration. There are dedicated config classes for Oracle/database settings, and SQL migration files at the repository root indicate schema evolution and seed data management. This suggests a relational persistence model with controlled startup data.
7. The product includes a Telegram chatbot path distinct from the browser UI. ChatController, TelegramBotController, BotAgentService, and the util/Bot* classes form a bot subsystem that handles chat commands, automated notifications, and task/status queries. The README also references OpenRouter, and the OpenRouterConfig / OpenRouterService classes show an external AI-assisted chat/agent integration.
8. The frontend is not just a generic shell; it contains two major user experiences: management dashboards and operational task boards. The dashboard pages focus on KPIs such as sprint velocity and productivity, while the kanban and developer pages support task workflow, assignments, comments, and status changes. A chat widget in the UI likely mirrors the chatbot backend capability.
9. Infrastructure is cloud-native and OCI-specific. The terraform directory defines Oracle Cloud resources such as API Gateway, Kubernetes/OKE, container registry, object storage, and database components. This indicates the production architecture uses infrastructure-as-code, container orchestration, and managed cloud services rather than a standalone VM deployment.
10. Deployment is containerized and automated. The backend has a Dockerfile, build/deploy scripts, and GitHub Actions workflows for deployment and documentation. The repo also includes compose-based local development and utility scripts for setup/teardown, which means the same codebase supports local, container, and OCI deployment paths.
11. The system’s operational concerns include database initialization, environment bootstrap, and release management. The root migrations directory, setup.sh/destroy.sh scripts, and release/changelog files suggest the project is intended to be provisioned and upgraded as a managed platform rather than a one-off application.
12. For diagramming, the most important boundaries are: the React client, the Spring Boot API, the security/auth layer, the persistence layer, the Telegram/OpenRouter external integrations, and the OCI infrastructure layer. The strongest architectural message is that the product is a modular monolithic backend with a rich SPA frontend and multiple external integration channels, deployed as containers on OCI.
Main entry points: controller API controllers · router.jsx Router · service Services · utils Deploy tools
Components 17
Frontend SPA
Embedded React client and UI modules.
- React app · Vite/React frontend shell and route composition.
MtdrSpring/backend/src/main/frontend/src/App.jsx - Router · Route definitions and page navigation.
MtdrSpring/backend/src/main/frontend/src/router.jsx - API client · Shared fetch and auth helpers used by the UI.
MtdrSpring/backend/src/main/frontend/src/lib/api.js - Dashboard UI · KPI and productivity dashboards for managers.
MtdrSpring/backend/src/main/frontend/src/pages/Dashboard - Kanban UI · Operational task boards, cards, forms, and modal workflows.
MtdrSpring/backend/src/main/frontend/src/pages/Kanban - Developer UI · Developer-facing backlog and task execution views.
MtdrSpring/backend/src/main/frontend/src/pages/DeveloperDashboard
Spring Backend
Java 17 Spring Boot application and feature controllers.
- App entry · Application bootstrap and runtime entry point.
MtdrSpring/backend/src/main/java/com/springboot/MyTodoList/MyTodoListApplication.java - API controllers · Feature controllers for auth, users, teams, projects, sprints, tasks, comments, employees, chat, and bot access.
MtdrSpring/backend/src/main/java/com/springboot/MyTodoList/controller
Security
JWT authentication and security configuration.
- JWT auth · JWT filter, token utility, user details, and security configuration.
MtdrSpring/backend/src/main/java/com/springboot/MyTodoList/security - CORS config · Cross-origin configuration for the embedded SPA client.
MtdrSpring/backend/src/main/java/com/springboot/MyTodoList/config/CorsConfig.java
Domain & Data
Core entities, services, and repositories.
- Services · Application services coordinating rules, orchestration, and persistence.
MtdrSpring/backend/src/main/java/com/springboot/MyTodoList/service - Repositories · Spring Data repositories for relational persistence.
MtdrSpring/backend/src/main/java/com/springboot/MyTodoList/repository - Domain models · Project-management entities and token state.
MtdrSpring/backend/src/main/java/com/springboot/MyTodoList/model
Integrations
Bot, chat, and external AI integration paths.
- Bot services · Telegram bot control, command handling, and chat-agent orchestration.
MtdrSpring/backend/src/main/java/com/springboot/MyTodoList/service/BotAgentService.java - OpenRouter · External AI-assisted chat integration.
MtdrSpring/backend/src/main/java/com/springboot/MyTodoList/service/OpenRouterService.java
Deployment
Container, CI/CD, and OCI infrastructure.
- OCI IaC · Terraform for API gateway, OKE, registry, storage, and database resources.
MtdrSpring/terraform - Deploy tools · Build, deploy, setup, and teardown scripts plus CI workflows.
MtdrSpring/utils
Connections 20
- React app → Router: uses · The SPA mounts routing and page composition.
- Router → Dashboard UI: loads · Routes to dashboard pages.
- Router → Kanban UI: loads · Routes to kanban views.
- Router → Developer UI: loads · Routes to developer workflow views.
- React app → API client: calls · UI components use shared API helpers.
- API client → API controllers: REST calls · Browser data flows into backend controllers.
- App entry → API controllers: starts · Spring Boot boots the HTTP API surface.
- API controllers → JWT auth: secured by · Controllers are protected by JWT security.
- JWT auth → CORS config: permits · Security boundary allows the SPA origin.
- API controllers → Services: delegates · Controllers hand off request handling to services.
- Services → Repositories: persists via · Business logic accesses repositories for data operations.
- Repositories → Domain models: maps · Repositories operate on the domain entities.
- Services → Domain models: uses · Services coordinate core domain objects and token state.
- Services → Bot services: invokes · Chat and automation flows are handled by bot services.
- Bot services → OpenRouter: calls · Bot agent can use the external AI service.
- API controllers → Bot services: exposes · Chat and Telegram endpoints surface the bot subsystem.
- OCI IaC → Deploy tools: supports · Infrastructure and automation define provisioning and release flows.
- Deploy tools → App entry: deploys · Scripts and CI build and ship the backend application.
- Deploy tools → React app: packages · Frontend assets are built as part of the backend bundle.
- OCI IaC → App entry: hosts · OCI resources host the containerized application.