How checo894/oci-mytodolist works
Main Components
• Frontend Component:
• Represented by the React JS application (located in backend/src/main/frontend).
• Includes UI pages like LoginPage, ManagerView, DeveloperView, and components for list and task management.
• Backend Component:
• A Spring Boot Java application (in the package com.springboot/MyTodoList) with controllers, services, repositories, and configuration classes handling business logic.
• Contains REST API endpoints (DeveloperController, SprintController, etc.) that interface with the frontend.
• Database:
• While there isn’t a dedicated DB folder, the presence of Oracle wallet files (under Wallet_BDDC1 and Wallet_reacttodolp41q) suggests connectivity to an Oracle database.
• The configuration files (ojdbc.properties, sqlnet.ora, tnsnames.ora, etc.) provide the secure connection details.
• Infrastructure & Deployment:
• Terraform scripts in the terraform/ directory indicate provisioning of cloud resources such as API gateways, container engines, databases, and object storage on OCI.
• Other scripts (deploy.sh, build.sh, dockerfile, etc.) along with container image generation indicate CI/CD and containerized deployment.
• Cloud Native & DevOps Tools:
• The OCI DevOps pipeline (oci_devops.yml) and additional utilities (in utils/) for Kubernetes, load balancing, and a container image generator.
Relationships and Data Flow
• Users access the application via a web browser.
• The frontend makes HTTP API calls to the backend (Spring Boot REST controllers).
• The backend processes these requests using its service and repository layers.
• The backend interacts with the Oracle database for persistence, leveraging secure connections provided by the wallet configuration.
• Terraform scripts and OCI resources are in charge of provisioning the runtime environment.
• The dockerfile and container scripts indicate how the application is containerized for deployment.
Architectural Patterns and Principles
• Separation of Concerns / Layered Architecture: UI (React) vs. business logic (Spring Boot controllers, services) vs. data persistence (Oracle Database).
• RESTful API design: Frontend-to-backend communications follow standard REST patterns.
• Cloud Native and Containerization: Use of Docker, Kubernetes (kubectl, terraform/kubernetes resource files), and infrastructure as code (Terraform) emphasize scalable, cloud-deployable design.
• Security best practices: Utilization of Oracle wallet files to secure database connections.
Relevant Technologies & Frameworks
• Frontend: React JS, JavaScript/ES6, potentially npm for package management.
• Backend: Java, Spring Boot, Maven (pom.xml, mvnw scripts).
• Database: Oracle (with Oracle JDBC, Oracle wallet configurations).
• CI/CD and Infrastructure: Terraform scripts for OCI resource provisioning, docker containerization via dockerfile, and OCI CLI integrations.
• DevOps: OCI devops configuration (oci_devops.yml) and scripts in utils/ for managing deployments.