How lmendieta06/wiki works
Project Type & Purpose
• This is a monolithic, full‑stack Spring Boot web application (Java + Thymeleaf + static assets) that serves as a wiki for project information.
• It implements the Model‑View‑Controller pattern, handles form submissions, and serves static content (JS/CSS/images).
Main Architectural Components
a. Client (Web Browser)
• Renders HTML, CSS, JS
• Initiates HTTP GET/POST to the backend
b. Spring Boot Application (Embedded Tomcat in Docker/Standalone JAR)
• Presentation Layer
• Static Resources (src/main/resources/static)
• Thymeleaf Templates & Fragments (src/main/resources/templates)
• Controllers:
– PagesController (serves informational pages)
– FormsController (handles form submissions)
• Service Layer
• FormsService (business logic around form data)
• Data Layer
• FormsInterface (Spring Data repository)
• Underlying Database (configured via application.properties; e.g., H2 or external RDBMS)
c. Build & Deployment
• Maven (pom.xml)
• Dockerfile (containerization)
Relationships & Data Flows
• Browser → (HTTP) → Controller → Service → Repository → Database
• Repository → returns data → Service → Controller → View (Thymeleaf) → Browser
• Browser directly fetches static assets (CSS/JS/images) from resource handler
Architectural Patterns & Technologies
• MVC Separation:
• Controllers (request routing)
• Services (business logic)
• Repositories (data access)
• Thymeleaf for server‑side template rendering
• Spring Data for repository abstraction
• Maven wrapper for consistent builds
• Docker for containerized deployment