# sidducyber07/nova_note architecture

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

- Interactive diagram: https://gitdiagram.com/sidducyber07/nova_note
- Repository: https://github.com/sidducyber07/nova_note

## Overview

nova_note is presented as an AI productivity workspace, but the available source tree implements only a marketing landing page, Clerk sign-in/sign-up routes, shared UI primitives, and basic Prisma setup. The principal visible journey is landing page → sign-up/sign-in; notes, workspaces, AI, uploads, and related SaaS capabilities are advertised in the README but have no corresponding implementation paths in this tree. Those capabilities are shown as documented, unverified subsystems; source excerpts do not establish their runtime wiring.

Main entry points: [`src/app/page.tsx`](https://github.com/sidducyber07/nova_note/blob/main/src/app/page.tsx) (Landing page), [`src/app/(auth)/sign-in/[[...sign-in]]/page.tsx`](https://github.com/sidducyber07/nova_note/blob/main/src/app/(auth)/sign-in/%5B%5B...sign-in%5D%5D/page.tsx) (Sign-in page), [`src/app/(auth)/sign-up/[[...sign-up]]/page.tsx`](https://github.com/sidducyber07/nova_note/blob/main/src/app/(auth)/sign-up/%5B%5B...sign-up%5D%5D/page.tsx) (Sign-up page), [`prisma/schema.prisma`](https://github.com/sidducyber07/nova_note/blob/main/prisma/schema.prisma) (Data schema)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_entry["Entry and access"]
  node_landing["Landing page<br/>[page.tsx]"]
  node_signin["Sign-in page<br/>[page.tsx]"]
  node_signup["Sign-up page<br/>[page.tsx]"]
  node_clerk["Clerk auth"]
  node_root["Root layout<br/>[layout.tsx]"]
end

subgraph group_ui["Shared interface"]
  node_ui_primitives["UI primitives"]
  node_button["Button<br/>[button.tsx]"]
  node_class_utils["Class utilities<br/>[utils.ts]"]
end

subgraph group_workspace["Workspace capabilities"]
  node_notes["Smart notes"]
  node_ai["AI assistant"]
  node_uploads["Document upload"]
  node_workspaces["Workspaces"]
  node_collaboration["Collaboration"]
  node_activity["Activity logs"]
  node_subscriptions["Subscription plans"]
  node_rate_limits["Rate limiting"]
end

subgraph group_data["Persistence"]
  node_prisma_client["Prisma client<br/>[prisma.ts]"]
  node_schema[("Data schema<br/>[schema.prisma]")]
end

node_visitor(("Visitor"))

node_visitor -->|"opens"| node_landing
node_visitor -->|"chooses sign-in"| node_signin
node_visitor -->|"chooses sign-up"| node_signup
node_landing -->|"renders"| node_button
node_landing -->|"links to"| node_signin
node_landing -->|"links to"| node_signup
node_root -->|"provides auth context"| node_clerk
node_root -.->|"wraps pages"| node_ui_primitives
node_button -->|"merges classes"| node_class_utils
node_ui_primitives -.->|"uses"| node_class_utils
node_signin -.->|"handles sign-in"| node_clerk
node_signup -.->|"handles sign-up"| node_clerk
node_landing -->|"advertises"| node_notes
node_landing -->|"advertises"| node_ai
node_landing -->|"advertises"| node_uploads
node_notes -.->|"organized in"| node_workspaces
node_workspaces -.->|"supports"| node_collaboration
node_activity -.->|"stored as"| node_schema
node_subscriptions -.->|"represented in"| node_schema
node_rate_limits -.->|"protects endpoints"| node_ai
node_prisma_client -.->|"uses schema"| node_schema

click node_landing "https://github.com/sidducyber07/nova_note/blob/main/src/app/page.tsx"
click node_signin "https://github.com/sidducyber07/nova_note/blob/main/src/app/(auth)/sign-in/%5B%5B...sign-in%5D%5D/page.tsx"
click node_signup "https://github.com/sidducyber07/nova_note/blob/main/src/app/(auth)/sign-up/%5B%5B...sign-up%5D%5D/page.tsx"
click node_root "https://github.com/sidducyber07/nova_note/blob/main/src/app/layout.tsx"
click node_ui_primitives "https://github.com/sidducyber07/nova_note/tree/main/src/components/ui"
click node_button "https://github.com/sidducyber07/nova_note/blob/main/src/components/ui/button.tsx"
click node_class_utils "https://github.com/sidducyber07/nova_note/blob/main/src/lib/utils.ts"
click node_notes "https://github.com/sidducyber07/nova_note/tree/main/src/app"
click node_ai "https://github.com/sidducyber07/nova_note/tree/main/src/app"
click node_uploads "https://github.com/sidducyber07/nova_note/tree/main/src/app"
click node_workspaces "https://github.com/sidducyber07/nova_note/tree/main/src/app"
click node_collaboration "https://github.com/sidducyber07/nova_note/tree/main/src/app"
click node_activity "https://github.com/sidducyber07/nova_note/tree/main/src/app"
click node_subscriptions "https://github.com/sidducyber07/nova_note/tree/main/src/app"
click node_rate_limits "https://github.com/sidducyber07/nova_note/tree/main/src/app"
click node_prisma_client "https://github.com/sidducyber07/nova_note/blob/main/src/lib/prisma.ts"
click node_schema "https://github.com/sidducyber07/nova_note/blob/main/prisma/schema.prisma"

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_landing,node_signin,node_signup,node_clerk,node_root toneBlue
class node_ui_primitives,node_button,node_class_utils toneAmber
class node_notes,node_ai,node_uploads,node_workspaces,node_collaboration,node_activity,node_subscriptions,node_rate_limits toneMint
class node_prisma_client,node_schema toneRose
class node_visitor toneIndigo
```

## Components

### Entry and access

- [Landing page](https://github.com/sidducyber07/nova_note/blob/main/src/app/page.tsx): `src/app/page.tsx`
- [Sign-in page](https://github.com/sidducyber07/nova_note/blob/main/src/app/(auth)/sign-in/%5B%5B...sign-in%5D%5D/page.tsx): `src/app/(auth)/sign-in/[[...sign-in]]/page.tsx`
- [Sign-up page](https://github.com/sidducyber07/nova_note/blob/main/src/app/(auth)/sign-up/%5B%5B...sign-up%5D%5D/page.tsx): `src/app/(auth)/sign-up/[[...sign-up]]/page.tsx`
- **Clerk auth**
- [Root layout](https://github.com/sidducyber07/nova_note/blob/main/src/app/layout.tsx): `src/app/layout.tsx`

### Shared interface

- [UI primitives](https://github.com/sidducyber07/nova_note/tree/main/src/components/ui): `src/components/ui`
- [Button](https://github.com/sidducyber07/nova_note/blob/main/src/components/ui/button.tsx): `src/components/ui/button.tsx`
- [Class utilities](https://github.com/sidducyber07/nova_note/blob/main/src/lib/utils.ts): `src/lib/utils.ts`

### Workspace capabilities

- [Smart notes](https://github.com/sidducyber07/nova_note/tree/main/src/app): `src/app`
- [AI assistant](https://github.com/sidducyber07/nova_note/tree/main/src/app): `src/app`
- [Document upload](https://github.com/sidducyber07/nova_note/tree/main/src/app): `src/app`
- [Workspaces](https://github.com/sidducyber07/nova_note/tree/main/src/app): `src/app`
- [Collaboration](https://github.com/sidducyber07/nova_note/tree/main/src/app): `src/app`
- [Activity logs](https://github.com/sidducyber07/nova_note/tree/main/src/app): `src/app`
- [Subscription plans](https://github.com/sidducyber07/nova_note/tree/main/src/app): `src/app`
- [Rate limiting](https://github.com/sidducyber07/nova_note/tree/main/src/app): `src/app`

### Persistence

- [Prisma client](https://github.com/sidducyber07/nova_note/blob/main/src/lib/prisma.ts): `src/lib/prisma.ts`
- [Data schema](https://github.com/sidducyber07/nova_note/blob/main/prisma/schema.prisma): `prisma/schema.prisma`

### Other components

- **Visitor**

## Connections

- Visitor → Landing page: opens (evidence: `src/app/page.tsx`)
- Visitor → Sign-in page: chooses sign-in
- Visitor → Sign-up page: chooses sign-up
- Landing page → Button: renders (evidence: `src/app/page.tsx`)
- Landing page → Sign-in page: links to (evidence: `src/app/page.tsx`)
- Landing page → Sign-up page: links to (evidence: `src/app/page.tsx`)
- Root layout → Clerk auth: provides auth context (evidence: `src/app/layout.tsx`)
- Root layout → UI primitives: wraps pages
- Button → Class utilities: merges classes (evidence: `src/components/ui/button.tsx`)
- UI primitives → Class utilities: uses (evidence: `src/components/ui/dropdown-menu.tsx`)
- Sign-in page → Clerk auth: handles sign-in (evidence: `README.md`)
- Sign-up page → Clerk auth: handles sign-up (evidence: `README.md`)
- Landing page → Smart notes: advertises (evidence: `src/app/page.tsx`)
- Landing page → AI assistant: advertises (evidence: `src/app/page.tsx`)
- Landing page → Document upload: advertises (evidence: `src/app/page.tsx`)
- Smart notes → Workspaces: organized in (evidence: `README.md`)
- Workspaces → Collaboration: supports (evidence: `README.md`)
- Activity logs → Data schema: stored as (evidence: `README.md`)
- Subscription plans → Data schema: represented in (evidence: `README.md`)
- Rate limiting → AI assistant: protects endpoints (evidence: `README.md`)
- Prisma client → Data schema: uses schema (evidence: `README.md`)
