# potpallyvinay1/sonch-web-app architecture

> Architecture diagram of the GitHub repository potpallyvinay1/sonch-web-app, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-09-27). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/potpallyvinay1/sonch-web-app
- Repository: https://github.com/potpallyvinay1/sonch-web-app

## Overview

This is a small Spring Boot MVC site serving a set of JSP pages. A browser request reaches the application controller, which maps the URL to a JSP view; the JSP and static assets form the returned interface. The tree suggests pages for information, services, power, account access, and requests, but no README or page contents describe deeper behavior. The controller excerpt shows view routing only, so form handling, authentication, persistence, and any integrations are not represented.

Main entry points: [`src/main/java/com/mine/WelcomeController.java`](https://github.com/potpallyvinay1/sonch-web-app/blob/master/src/main/java/com/mine/WelcomeController.java) (Page controller), [`src/main/java/com/mine/SpringBootWebApplication.java`](https://github.com/potpallyvinay1/sonch-web-app/blob/master/src/main/java/com/mine/SpringBootWebApplication.java) (Spring Boot app), [`src/main/webapp/WEB-INF/jsp/about.jsp`](https://github.com/potpallyvinay1/sonch-web-app/blob/master/src/main/webapp/WEB-INF/jsp/about.jsp) (Info pages), [`src/main/webapp/WEB-INF/jsp/index.jsp`](https://github.com/potpallyvinay1/sonch-web-app/blob/master/src/main/webapp/WEB-INF/jsp/index.jsp) (Home page)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_runtime["Web runtime"]
  node_application["Spring Boot app"]
  node_controller["Page controller"]
end

subgraph group_views["JSP views"]
  node_content["Info pages<br/>[about.jsp]"]
  node_home["Home page<br/>[index.jsp]"]
  node_service["Service pages<br/>[service.jsp]"]
  node_power["Power pages<br/>[power.jsp]"]
  node_account["Account pages<br/>[signin.jsp]"]
  node_requests["Request pages<br/>[request.jsp]"]
  node_other["Other views"]
end

subgraph group_assets["Browser assets"]
  node_styles["Site styling<br/>[main.css]"]
  node_scripts["Sample script<br/>[scriptsample.js]"]
end

node_visitor(("Visitor"))

node_visitor -->|"sends request"| node_application
node_application -->|"routes request"| node_controller
node_controller -->|"returns view"| node_home
node_controller -->|"returns view"| node_content
node_controller -->|"returns view"| node_service
node_controller -->|"returns view"| node_power
node_controller -->|"returns view"| node_account
node_controller -->|"returns view"| node_requests
node_controller -->|"returns view"| node_other

click node_application "https://github.com/potpallyvinay1/sonch-web-app/blob/master/src/main/java/com/mine/SpringBootWebApplication.java"
click node_controller "https://github.com/potpallyvinay1/sonch-web-app/blob/master/src/main/java/com/mine/WelcomeController.java"
click node_content "https://github.com/potpallyvinay1/sonch-web-app/blob/master/src/main/webapp/WEB-INF/jsp/about.jsp"
click node_home "https://github.com/potpallyvinay1/sonch-web-app/blob/master/src/main/webapp/WEB-INF/jsp/index.jsp"
click node_service "https://github.com/potpallyvinay1/sonch-web-app/blob/master/src/main/webapp/WEB-INF/jsp/service.jsp"
click node_power "https://github.com/potpallyvinay1/sonch-web-app/blob/master/src/main/webapp/WEB-INF/jsp/power.jsp"
click node_account "https://github.com/potpallyvinay1/sonch-web-app/blob/master/src/main/webapp/WEB-INF/jsp/signin.jsp"
click node_requests "https://github.com/potpallyvinay1/sonch-web-app/blob/master/src/main/webapp/WEB-INF/jsp/request.jsp"
click node_other "https://github.com/potpallyvinay1/sonch-web-app/tree/master/src/main/webapp/WEB-INF/jsp"
click node_styles "https://github.com/potpallyvinay1/sonch-web-app/blob/master/src/main/resources/static/css/main.css"
click node_scripts "https://github.com/potpallyvinay1/sonch-web-app/blob/master/src/main/webapp/js/scriptsample.js"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_application,node_controller toneBlue
class node_content,node_home,node_service,node_power,node_account,node_requests,node_other toneAmber
class node_styles,node_scripts toneMint
class node_visitor toneIndigo
```

## Components

### Web runtime

- [Spring Boot app](https://github.com/potpallyvinay1/sonch-web-app/blob/master/src/main/java/com/mine/SpringBootWebApplication.java): `src/main/java/com/mine/SpringBootWebApplication.java`
- [Page controller](https://github.com/potpallyvinay1/sonch-web-app/blob/master/src/main/java/com/mine/WelcomeController.java): `src/main/java/com/mine/WelcomeController.java`

### JSP views

- [Info pages](https://github.com/potpallyvinay1/sonch-web-app/blob/master/src/main/webapp/WEB-INF/jsp/about.jsp): `src/main/webapp/WEB-INF/jsp/about.jsp`
- [Home page](https://github.com/potpallyvinay1/sonch-web-app/blob/master/src/main/webapp/WEB-INF/jsp/index.jsp): `src/main/webapp/WEB-INF/jsp/index.jsp`
- [Service pages](https://github.com/potpallyvinay1/sonch-web-app/blob/master/src/main/webapp/WEB-INF/jsp/service.jsp): `src/main/webapp/WEB-INF/jsp/service.jsp`
- [Power pages](https://github.com/potpallyvinay1/sonch-web-app/blob/master/src/main/webapp/WEB-INF/jsp/power.jsp): `src/main/webapp/WEB-INF/jsp/power.jsp`
- [Account pages](https://github.com/potpallyvinay1/sonch-web-app/blob/master/src/main/webapp/WEB-INF/jsp/signin.jsp): `src/main/webapp/WEB-INF/jsp/signin.jsp`
- [Request pages](https://github.com/potpallyvinay1/sonch-web-app/blob/master/src/main/webapp/WEB-INF/jsp/request.jsp): `src/main/webapp/WEB-INF/jsp/request.jsp`
- [Other views](https://github.com/potpallyvinay1/sonch-web-app/tree/master/src/main/webapp/WEB-INF/jsp): `src/main/webapp/WEB-INF/jsp`

### Browser assets

- [Site styling](https://github.com/potpallyvinay1/sonch-web-app/blob/master/src/main/resources/static/css/main.css): `src/main/resources/static/css/main.css`
- [Sample script](https://github.com/potpallyvinay1/sonch-web-app/blob/master/src/main/webapp/js/scriptsample.js): `src/main/webapp/js/scriptsample.js`

### Other components

- **Visitor**

## Connections

- Visitor → Spring Boot app: sends request
- Spring Boot app → Page controller: routes request
- Page controller → Home page: returns view
- Page controller → Info pages: returns view
- Page controller → Service pages: returns view
- Page controller → Power pages: returns view
- Page controller → Account pages: returns view
- Page controller → Request pages: returns view
- Page controller → Other views: returns view
