# harsh10099ht5/eventsphere architecture

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

- Interactive diagram: https://gitdiagram.com/harsh10099ht5/eventsphere
- Repository: https://github.com/harsh10099ht5/eventsphere

## Overview

EventSphere is a campus event-management and student-engagement platform. The visible workflow is students browsing events in the React app, which requests event data from an API; they can also submit bookmark interactions. A separate recommendations page collects interests, category, and skills, then requests ranked event matches. The README documents organizer management, registration, analytics, authentication, and role-based access, but their implementation is not present in the supplied tree. Backend and data-store internals therefore remain unspecified.

Main entry points: [`frontend/src/App.jsx`](https://github.com/harsh10099ht5/eventsphere/blob/main/frontend/src/App.jsx) (Event browser), [`frontend/pages/Recommendations.jsx`](https://github.com/harsh10099ht5/eventsphere/blob/main/frontend/pages/Recommendations.jsx) (Recommendation page), [`frontend/src/main.jsx`](https://github.com/harsh10099ht5/eventsphere/blob/main/frontend/src/main.jsx) (React entry)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_client["Student experience"]
  node_app["Event browser<br/>[App.jsx]"]
  node_recommendations["Recommendation page"]
  node_mount["React entry<br/>[main.jsx]"]
end

subgraph group_services["Platform services"]
  node_event_api["Event API"]
  node_recommend_api["Recommendation API"]
  node_platform_api["Organizer, registration, and analytics services"]
  node_identity["Authentication and roles"]
end

node_student(("Student"))

node_mount -->|"renders"| node_app
node_student -->|"browses"| node_app
node_app -->|"fetches events"| node_event_api
node_app -->|"posts interactions"| node_event_api
node_student -->|"sets preferences"| node_recommendations
node_recommendations -->|"requests matches"| node_recommend_api
node_student -.->|"manages participation"| node_platform_api
node_student -.->|"authenticates"| node_identity

click node_app "https://github.com/harsh10099ht5/eventsphere/blob/main/frontend/src/App.jsx"
click node_recommendations "https://github.com/harsh10099ht5/eventsphere/blob/main/frontend/pages/Recommendations.jsx"
click node_mount "https://github.com/harsh10099ht5/eventsphere/blob/main/frontend/src/main.jsx"

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_app,node_recommendations,node_mount toneBlue
class node_event_api,node_recommend_api,node_platform_api,node_identity toneAmber
class node_student toneIndigo
```

## Components

### Student experience

- [Event browser](https://github.com/harsh10099ht5/eventsphere/blob/main/frontend/src/App.jsx): `frontend/src/App.jsx`
- [Recommendation page](https://github.com/harsh10099ht5/eventsphere/blob/main/frontend/pages/Recommendations.jsx): `frontend/pages/Recommendations.jsx`
- [React entry](https://github.com/harsh10099ht5/eventsphere/blob/main/frontend/src/main.jsx): `frontend/src/main.jsx`

### Platform services

- **Event API**
- **Recommendation API**
- **Organizer, registration, and analytics services**
- **Authentication and roles**

### Other components

- **Student**

## Connections

- React entry → Event browser: renders (evidence: `frontend/src/main.jsx`)
- Student → Event browser: browses (evidence: `README.md`)
- Event browser → Event API: fetches events (evidence: `frontend/src/App.jsx`)
- Event browser → Event API: posts interactions (evidence: `frontend/src/App.jsx`)
- Student → Recommendation page: sets preferences (evidence: `README.md`)
- Recommendation page → Recommendation API: requests matches (evidence: `frontend/pages/Recommendations.jsx`)
- Student → Organizer, registration, and analytics services: manages participation (evidence: `README.md`)
- Student → Authentication and roles: authenticates (evidence: `README.md`)
