# anubsis/project-2027 architecture

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

- Interactive diagram: https://gitdiagram.com/anubsis/project-2027
- Repository: https://github.com/anubsis/project-2027

## Overview

PROJECT-2027 is a location-based consumer and business prototype, served locally with account, saved-place, business, and booking persistence. The principal documented workflow is customer/owner use of the local app, with booking and business state stored in SQLite. The excerpt shows the server’s bootstrap, authentication, booking validation, and booking persistence responsibilities. Frontend wiring and several listed page capabilities were not sampled, so their connections are not inferred.

Main entry points: [`index.html`](https://github.com/anubsis/project-2027/blob/main/index.html) (Home), [`server/index.cjs`](https://github.com/anubsis/project-2027/blob/main/server/index.cjs) (HTTP app server)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_consumer["Consumer discovery"]
  node_home["Home<br/>[index.html]"]
  node_explore["Explore and map<br/>[explore.html]"]
  node_search["Search results"]
  node_place["Place details<br/>[place.html]"]
  node_saved["Saved places<br/>[saved.html]"]
  node_account["Account<br/>[account.html]"]
end

subgraph group_business["Business workspace"]
  node_business_page["Business page<br/>[business.html]"]
  node_workspace["Business workspace"]
  node_atlas["Atlas<br/>[atlas.html]"]
end

subgraph group_runtime["Local runtime"]
  node_server["HTTP app server<br/>[index.cjs]"]
end

subgraph group_state["Persistent state"]
  node_database[("SQLite database<br/>[index.cjs]")]
end

node_customer(("Customer"))
node_owner(("Business owner"))

node_customer -->|"uses app"| node_home
node_owner -->|"uses app"| node_home
node_server -->|"reads and writes"| node_database

click node_home "https://github.com/anubsis/project-2027/blob/main/index.html"
click node_explore "https://github.com/anubsis/project-2027/blob/main/explore.html"
click node_search "https://github.com/anubsis/project-2027/blob/main/search-results.html"
click node_place "https://github.com/anubsis/project-2027/blob/main/place.html"
click node_saved "https://github.com/anubsis/project-2027/blob/main/saved.html"
click node_account "https://github.com/anubsis/project-2027/blob/main/account.html"
click node_business_page "https://github.com/anubsis/project-2027/blob/main/business.html"
click node_workspace "https://github.com/anubsis/project-2027/blob/main/assets/js/business-workspace.js"
click node_atlas "https://github.com/anubsis/project-2027/blob/main/atlas.html"
click node_server "https://github.com/anubsis/project-2027/blob/main/server/index.cjs"
click node_database "https://github.com/anubsis/project-2027/blob/main/server/index.cjs"

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_home,node_explore,node_search,node_place,node_saved,node_account toneBlue
class node_business_page,node_workspace,node_atlas toneAmber
class node_server toneMint
class node_database toneRose
class node_customer,node_owner toneIndigo
```

## Components

### Consumer discovery

- [Home](https://github.com/anubsis/project-2027/blob/main/index.html): `index.html`
- [Explore and map](https://github.com/anubsis/project-2027/blob/main/explore.html): `explore.html`
- [Search results](https://github.com/anubsis/project-2027/blob/main/search-results.html): `search-results.html`
- [Place details](https://github.com/anubsis/project-2027/blob/main/place.html): `place.html`
- [Saved places](https://github.com/anubsis/project-2027/blob/main/saved.html): `saved.html`
- [Account](https://github.com/anubsis/project-2027/blob/main/account.html): `account.html`

### Business workspace

- [Business page](https://github.com/anubsis/project-2027/blob/main/business.html): `business.html`
- [Business workspace](https://github.com/anubsis/project-2027/blob/main/assets/js/business-workspace.js): `assets/js/business-workspace.js`
- [Atlas](https://github.com/anubsis/project-2027/blob/main/atlas.html): `atlas.html`

### Local runtime

- [HTTP app server](https://github.com/anubsis/project-2027/blob/main/server/index.cjs): `server/index.cjs`

### Persistent state

- [SQLite database](https://github.com/anubsis/project-2027/blob/main/server/index.cjs): `server/index.cjs`

### Other components

- **Customer**
- **Business owner**

## Connections

- Customer → Home: uses app (evidence: `README.md`)
- Business owner → Home: uses app (evidence: `README.md`)
- HTTP app server → SQLite database: reads and writes (evidence: `server/index.cjs`)
