# kikysena13/sekolah architecture

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

- Interactive diagram: https://gitdiagram.com/kikysena13/sekolah
- Repository: https://github.com/kikysena13/sekolah

## Overview

This repository is a school-information website with a minimal Express API. Visitors browse school information or open login and password-recovery pages; the login form currently reports that server authentication is not connected. Separately, the API exposes root and health status responses. The sampled sources show no frontend-to-backend calls, database, or implemented school-management workflows, so those links and capabilities are not inferred.

Main entry points: [`frontend/src/App.tsx`](https://github.com/kikysena13/sekolah/blob/main/frontend/src/App.tsx) (Page routing), [`frontend/src/main.tsx`](https://github.com/kikysena13/sekolah/blob/main/frontend/src/main.tsx) (React bootstrap), [`backend/src/server.ts`](https://github.com/kikysena13/sekolah/blob/main/backend/src/server.ts) (Health endpoints)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_web["Visitor website"]
  node_bootstrap["React bootstrap<br/>[main.tsx]"]
  node_routes["Page routing<br/>[App.tsx]"]
  node_school_info["School information<br/>[App.tsx]"]
end

subgraph group_auth["Account pages"]
  node_login["Login page<br/>[App.tsx]"]
  node_password_recovery["Password recovery<br/>[App.tsx]"]
end

subgraph group_api["Status API"]
  node_api_service["Health endpoints<br/>[server.ts]"]
end

node_visitor(("Site visitor"))
node_api_client(("API caller"))

node_bootstrap -->|"renders"| node_routes
node_visitor -.->|"opens pages"| node_routes
node_routes -->|"routes to home"| node_school_info
node_routes -->|"routes to login"| node_login
node_routes -->|"routes to recovery"| node_password_recovery
node_api_client -.->|"requests status"| node_api_service

click node_bootstrap "https://github.com/kikysena13/sekolah/blob/main/frontend/src/main.tsx"
click node_routes "https://github.com/kikysena13/sekolah/blob/main/frontend/src/App.tsx"
click node_school_info "https://github.com/kikysena13/sekolah/blob/main/frontend/src/App.tsx"
click node_login "https://github.com/kikysena13/sekolah/blob/main/frontend/src/App.tsx"
click node_password_recovery "https://github.com/kikysena13/sekolah/blob/main/frontend/src/App.tsx"
click node_api_service "https://github.com/kikysena13/sekolah/blob/main/backend/src/server.ts"

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_bootstrap,node_routes,node_school_info toneBlue
class node_login,node_password_recovery toneAmber
class node_api_service,node_api_client toneMint
class node_visitor toneIndigo
```

## Components

### Visitor website

- [React bootstrap](https://github.com/kikysena13/sekolah/blob/main/frontend/src/main.tsx): `frontend/src/main.tsx`
- [Page routing](https://github.com/kikysena13/sekolah/blob/main/frontend/src/App.tsx): `frontend/src/App.tsx`
- [School information](https://github.com/kikysena13/sekolah/blob/main/frontend/src/App.tsx): `frontend/src/App.tsx`

### Account pages

- [Login page](https://github.com/kikysena13/sekolah/blob/main/frontend/src/App.tsx): `frontend/src/App.tsx`
- [Password recovery](https://github.com/kikysena13/sekolah/blob/main/frontend/src/App.tsx): `frontend/src/App.tsx`

### Status API

- [Health endpoints](https://github.com/kikysena13/sekolah/blob/main/backend/src/server.ts): `backend/src/server.ts`

### Other components

- **Site visitor**
- **API caller**

## Connections

- React bootstrap → Page routing: renders (evidence: `frontend/src/main.tsx`)
- Site visitor → Page routing: opens pages
- Page routing → School information: routes to home (evidence: `frontend/src/App.tsx`)
- Page routing → Login page: routes to login (evidence: `frontend/src/App.tsx`)
- Page routing → Password recovery: routes to recovery (evidence: `frontend/src/App.tsx`)
- API caller → Health endpoints: requests status
