# sanvedsahu/messmap architecture

> Architecture diagram of the GitHub repository sanvedsahu/messmap, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-19). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/sanvedsahu/messmap
- Repository: https://github.com/sanvedsahu/messmap

## Overview

MessMap is an early-stage full-stack application for discovering mess facilities using location-based services. Its documented roles are users, admins, and mess owners; the README identifies React/TypeScript, Spring Boot, MySQL, and maps as the intended stack. The repository contains no source excerpts, so the graph shows only documented product roles and technology boundaries; implementation details and call relationships remain unknown.

Main entry points: [`frontend`](https://github.com/sanvedsahu/messmap/tree/dev/frontend) (React frontend), [`backend`](https://github.com/sanvedsahu/messmap/tree/dev/backend) (Spring Boot backend), [`database`](https://github.com/sanvedsahu/messmap/tree/dev/database) (MySQL database)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_client["Client"]
  node_frontend["React frontend"]
end

subgraph group_server["Server"]
  node_backend["Spring Boot backend"]
end

subgraph group_data["Data and maps"]
  node_mysql[("MySQL database")]
  node_maps{{"Maps provider"}}
end

node_user(("User"))
node_admin(("Admin"))
node_owner(("Mess owner"))

node_user -->|"discovers facilities"| node_frontend
node_admin -->|"uses admin module"| node_frontend
node_owner -->|"uses owner module"| node_frontend
node_frontend -.->|"communicates"| node_backend
node_backend -.->|"uses"| node_mysql
node_backend -.->|"location lookup"| node_maps

click node_frontend "https://github.com/sanvedsahu/messmap/tree/dev/frontend"
click node_backend "https://github.com/sanvedsahu/messmap/tree/dev/backend"
click node_mysql "https://github.com/sanvedsahu/messmap/tree/dev/database"

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_frontend,node_user toneBlue
class node_backend toneAmber
class node_mysql,node_maps toneMint
class node_admin,node_owner toneIndigo
```

## Components

### Client

- [React frontend](https://github.com/sanvedsahu/messmap/tree/dev/frontend): `frontend`

### Server

- [Spring Boot backend](https://github.com/sanvedsahu/messmap/tree/dev/backend): `backend`

### Data and maps

- [MySQL database](https://github.com/sanvedsahu/messmap/tree/dev/database): `database`
- **Maps provider**

### Other components

- **User**
- **Admin**
- **Mess owner**

## Connections

- User → React frontend: discovers facilities (evidence: `README.md`)
- Admin → React frontend: uses admin module (evidence: `README.md`)
- Mess owner → React frontend: uses owner module (evidence: `README.md`)
- React frontend → Spring Boot backend: communicates
- Spring Boot backend → MySQL database: uses
- Spring Boot backend → Maps provider: location lookup
