# alsonick/notnick.io architecture

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

- Interactive diagram: https://gitdiagram.com/alsonick/notnick.io
- Repository: https://github.com/alsonick/notnick.io
- Video tour (about a minute): https://gitdiagram.com/alsonick/notnick.io/video

## Overview

notnick.io is a personal portfolio and content website. Visitors browse the homepage’s profile, experience, technology, education, music, community, newsletter, and contact sections, or navigate to dedicated articles, posts, projects, and challenge pages. The challenge listing explicitly loads active challenge data; the homepage composes its sections through reusable components. The tree also documents interactive APIs for applications, guestbooks, newsletters, and other tools. Those subsystems are represented as capabilities, but their internal wiring is uncertain because their source was not sampled.

Main entry points: [`pages/index.tsx`](https://github.com/alsonick/notnick.io/blob/main/pages/index.tsx) (Homepage), [`pages/challenge/index.tsx`](https://github.com/alsonick/notnick.io/blob/main/pages/challenge/index.tsx) (Challenges), [`pages/articles.tsx`](https://github.com/alsonick/notnick.io/blob/main/pages/articles.tsx) (Articles), [`pages/group/apply.tsx`](https://github.com/alsonick/notnick.io/blob/main/pages/group/apply.tsx) (Group Applications)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_portfolio["Portfolio"]
  node_home["Homepage<br/>[index.tsx]"]
  node_home_sections["Profile Sections"]
  node_experience["Experience &amp; Education"]
  node_projects["Projects"]
  node_music["Music"]
end

subgraph group_content["Content"]
  node_articles_page["Articles<br/>[articles.tsx]"]
  node_articles_ui["Article Views"]
  node_blog["Blog &amp; Posts<br/>[blog.tsx]"]
  node_post_detail["Post Detail<br/>[&#91;slug&#93;.tsx]"]
  node_post_components["Post Components"]
  node_challenge_page["Challenges<br/>[index.tsx]"]
  node_challenge_ui["Challenge Display<br/>[Challenge.tsx]"]
  node_challenge_data["Challenge Data<br/>[index.ts]"]
end

subgraph group_interactive["Interactive Features"]
  node_group_apply["Group Applications<br/>[apply.tsx]"]
  node_apply_api["Application API<br/>[apply.ts]"]
  node_guestbook["Guestbook<br/>[guestbook.tsx]"]
  node_guestbook_api["Guestbook API<br/>[guestbook.ts]"]
  node_api_tools["Other API Tools"]
end

subgraph group_platform["Shared Platform"]
  node_site_layout["Shared Layout<br/>[Layout.tsx]"]
  node_session["Signed Sessions<br/>[session.ts]"]
  node_database_client["Prisma Client<br/>[prisma.ts]"]
end

node_visitor(("Visitor"))

node_visitor -->|"browses"| node_home
node_visitor -->|"browses"| node_articles_page
node_visitor -->|"browses"| node_blog
node_visitor -->|"browses"| node_challenge_page
node_visitor -->|"submits"| node_group_apply
node_visitor -->|"visits"| node_guestbook
node_home -->|"renders"| node_home_sections
node_home -->|"renders"| node_experience
node_home -->|"renders"| node_projects
node_home -->|"renders"| node_music
node_articles_page -->|"renders"| node_articles_ui
node_post_detail -->|"renders"| node_post_components
node_challenge_page -->|"renders"| node_challenge_ui
node_challenge_page -->|"reads"| node_challenge_data
node_group_apply -->|"submits to"| node_apply_api

click node_home "https://github.com/alsonick/notnick.io/blob/main/pages/index.tsx"
click node_home_sections "https://github.com/alsonick/notnick.io/tree/main/components/home"
click node_experience "https://github.com/alsonick/notnick.io/tree/main/components/experience"
click node_projects "https://github.com/alsonick/notnick.io/tree/main/components/projects"
click node_music "https://github.com/alsonick/notnick.io/tree/main/components/music"
click node_articles_page "https://github.com/alsonick/notnick.io/blob/main/pages/articles.tsx"
click node_articles_ui "https://github.com/alsonick/notnick.io/tree/main/components/articles"
click node_blog "https://github.com/alsonick/notnick.io/blob/main/pages/blog.tsx"
click node_post_detail "https://github.com/alsonick/notnick.io/blob/main/pages/blog/%5Bslug%5D.tsx"
click node_post_components "https://github.com/alsonick/notnick.io/tree/main/components/posts"
click node_challenge_page "https://github.com/alsonick/notnick.io/blob/main/pages/challenge/index.tsx"
click node_challenge_ui "https://github.com/alsonick/notnick.io/blob/main/components/challenge/Challenge.tsx"
click node_challenge_data "https://github.com/alsonick/notnick.io/blob/main/lib/data/challenges/index.ts"
click node_group_apply "https://github.com/alsonick/notnick.io/blob/main/pages/group/apply.tsx"
click node_apply_api "https://github.com/alsonick/notnick.io/blob/main/pages/api/group/apply.ts"
click node_guestbook "https://github.com/alsonick/notnick.io/blob/main/pages/guestbook.tsx"
click node_guestbook_api "https://github.com/alsonick/notnick.io/blob/main/pages/api/guestbook.ts"
click node_api_tools "https://github.com/alsonick/notnick.io/tree/main/pages/api"
click node_site_layout "https://github.com/alsonick/notnick.io/blob/main/components/layout/Layout.tsx"
click node_session "https://github.com/alsonick/notnick.io/blob/main/lib/session.ts"
click node_database_client "https://github.com/alsonick/notnick.io/blob/main/lib/prisma.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_home,node_home_sections,node_experience,node_projects,node_music toneBlue
class node_articles_page,node_articles_ui,node_blog,node_post_detail,node_post_components,node_challenge_page,node_challenge_ui,node_challenge_data toneAmber
class node_group_apply,node_apply_api,node_guestbook,node_guestbook_api,node_api_tools toneMint
class node_site_layout,node_session,node_database_client toneRose
class node_visitor toneIndigo
```

## Components

### Portfolio

- [Homepage](https://github.com/alsonick/notnick.io/blob/main/pages/index.tsx): `pages/index.tsx`
- [Profile Sections](https://github.com/alsonick/notnick.io/tree/main/components/home): `components/home`
- [Experience & Education](https://github.com/alsonick/notnick.io/tree/main/components/experience): `components/experience`
- [Projects](https://github.com/alsonick/notnick.io/tree/main/components/projects): `components/projects`
- [Music](https://github.com/alsonick/notnick.io/tree/main/components/music): `components/music`

### Content

- [Articles](https://github.com/alsonick/notnick.io/blob/main/pages/articles.tsx): `pages/articles.tsx`
- [Article Views](https://github.com/alsonick/notnick.io/tree/main/components/articles): `components/articles`
- [Blog & Posts](https://github.com/alsonick/notnick.io/blob/main/pages/blog.tsx): `pages/blog.tsx`
- [Post Detail](https://github.com/alsonick/notnick.io/blob/main/pages/blog/%5Bslug%5D.tsx): `pages/blog/[slug].tsx`
- [Post Components](https://github.com/alsonick/notnick.io/tree/main/components/posts): `components/posts`
- [Challenges](https://github.com/alsonick/notnick.io/blob/main/pages/challenge/index.tsx): `pages/challenge/index.tsx`
- [Challenge Display](https://github.com/alsonick/notnick.io/blob/main/components/challenge/Challenge.tsx): `components/challenge/Challenge.tsx`
- [Challenge Data](https://github.com/alsonick/notnick.io/blob/main/lib/data/challenges/index.ts): `lib/data/challenges/index.ts`

### Interactive Features

- [Group Applications](https://github.com/alsonick/notnick.io/blob/main/pages/group/apply.tsx): `pages/group/apply.tsx`
- [Application API](https://github.com/alsonick/notnick.io/blob/main/pages/api/group/apply.ts): `pages/api/group/apply.ts`
- [Guestbook](https://github.com/alsonick/notnick.io/blob/main/pages/guestbook.tsx): `pages/guestbook.tsx`
- [Guestbook API](https://github.com/alsonick/notnick.io/blob/main/pages/api/guestbook.ts): `pages/api/guestbook.ts`
- [Other API Tools](https://github.com/alsonick/notnick.io/tree/main/pages/api): `pages/api`

### Shared Platform

- [Shared Layout](https://github.com/alsonick/notnick.io/blob/main/components/layout/Layout.tsx): `components/layout/Layout.tsx`
- [Signed Sessions](https://github.com/alsonick/notnick.io/blob/main/lib/session.ts): `lib/session.ts`
- [Prisma Client](https://github.com/alsonick/notnick.io/blob/main/lib/prisma.ts): `lib/prisma.ts`

### Other components

- **Visitor**

## Connections

- Visitor → Homepage: browses
- Visitor → Articles: browses
- Visitor → Blog & Posts: browses
- Visitor → Challenges: browses
- Visitor → Group Applications: submits
- Visitor → Guestbook: visits
- Homepage → Profile Sections: renders
- Homepage → Experience & Education: renders
- Homepage → Projects: renders
- Homepage → Music: renders
- Articles → Article Views: renders
- Post Detail → Post Components: renders
- Challenges → Challenge Display: renders
- Challenges → Challenge Data: reads
- Group Applications → Application API: submits to
