# jaksoftwares/highrise-school architecture

> Architecture diagram of the GitHub repository jaksoftwares/highrise-school, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2025-05-18). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/jaksoftwares/highrise-school
- Repository: https://github.com/jaksoftwares/highrise-school

## Overview

##### Project type and purpose
- This is a Next.js “app-router” project, generated by create-next-app.
- It serves as a multi-page, server-rendered (and/or statically generated) marketing site—pages for About, Academics, Admissions, etc.—styled with Tailwind CSS, and optimized for deployment on Vercel.

##### File structure
- Top level:
- next.config.ts, tsconfig.json, ESLint/POSTCSS/Tailwind configs → build & lint pipelines
- public/ → static assets (images, favicon, fonts)
- src/app/ → the heart of the Next.js “app” directory (file-based routing)
- Under src/app:
- layout.tsx & globals.css → global page template and global styles
- page.tsx → homepage
- subfolders (about/, academics/, admissions/, etc.) → one page.tsx each (route)
- components/ → reusable React UI parts (Navbar, HeroSection, CTASection, Footer, etc.)
- No “api/” or backend directory implies no custom server-side API—pure front-end with SSR/SSG

##### Key insights from the README
- Uses next/font for optimized font loading
- Run with npm/yarn/pnpm/bun dev → local Node.js server for SSR
- Deploys seamlessly on Vercel

## Diagram (Mermaid)

```mermaid
flowchart TD
    %% Client Layer
    Client["Client Browser"]:::client

    %% Server Layer
    NextServer["Next.js Server (Node.js)"]:::server

    %% React App Layer
    subgraph "React App (App Router)"
        AppDir["src/app/"]:::server
        Layout["Layout (layout.tsx)\n+ globals.css"]:::server
        subgraph "Page Routes"
            Home["/ (page.tsx)"]:::server
            About["/about (page.tsx)"]:::server
            Academics["/academics (page.tsx)"]:::server
            Admissions["/admissions (page.tsx)"]:::server
            CoCurr["/co-curricular (page.tsx)"]:::server
            Contact["/contact (page.tsx)"]:::server
            Gallery["/gallery (page.tsx)"]:::server
            NewsEventsPage["/news-events (page.tsx)"]:::server
            Login["/login (page.tsx)"]:::server
        end
        subgraph "UI Components"
            ComponentsDir["src/app/components/"]:::server
            Navbar["Navbar"]:::server
            Hero["HeroSection"]:::server
            CTA["CTASection"]:::server
            Highlight["HighlightCards"]:::server
            NewsWidget["News & Events Widget"]:::server
            Testimonial["TestimonialSection"]:::server
            Footer["Footer"]:::server
        end
    end

    %% Static & CDN
    Static["Static Assets (public/)"]:::static
    FontCDN["Font CDN (next/font)"]:::static

    %% Build & Config Tools
    subgraph "Build & Config Tools"
        NextConfig["next.config.ts"]:::build
        Tailwind["tailwind.config.js"]:::build
        PostCSS["postcss.config.js\n/postcss.config.mjs"]:::build
        TSConfig["tsconfig.json"]:::build
        ESLint["eslint.config.mjs"]:::build
        Package["package.json\npackage-lock.json"]:::build
    end

    %% Deployment
    Vercel["Vercel Platform\n(CI/CD & Hosting)"]:::external

    %% Relationships
    Client -->|"HTTP Request"| NextServer
    NextServer -->|"invoke App Router"| AppDir
    AppDir --> Layout
    Layout --> Home
    Layout --> About
    Layout --> Academics
    Layout --> Admissions
    Layout --> CoCurr
    Layout --> Contact
    Layout --> Gallery
    Layout --> NewsEventsPage
    Layout --> Login
    Home --> Navbar
    Home --> Hero
    Home --> CTA
    About --> Navbar
    About --> Footer
    Academics --> Navbar
    Admissions --> Navbar
    CoCurr --> Navbar
    Contact --> Navbar
    Gallery --> Navbar
    NewsEventsPage --> Navbar
    Login --> Navbar
    Home --> Footer
    About --> Footer
    Academics --> Footer
    Admissions --> Footer
    CoCurr --> Footer
    Contact --> Footer
    Gallery --> Footer
    NewsEventsPage --> Footer
    Login --> Footer
    Home --> Highlight
    Home --> NewsWidget
    Home --> Testimonial
    Client -->|"fetch static assets"| Static
    Client -->|"fetch fonts"| FontCDN
    Package -->|"push code"| Vercel
    NextConfig --> Vercel
    Tailwind --> Vercel
    PostCSS --> Vercel
    TSConfig --> Vercel
    ESLint --> Vercel
    Vercel -->|"deploy Next.js Server"| NextServer
    NextServer -->|"HTTP Response"| Client

    %% Click Events
    click AppDir "https://github.com/jaksoftwares/highrise-school/tree/main/src/app/"
    click Layout "https://github.com/jaksoftwares/highrise-school/blob/main/src/app/layout.tsx"
    click PasteGlobals "https://github.com/jaksoftwares/highrise-school/blob/main/src/app/globals.css"
    click Home "https://github.com/jaksoftwares/highrise-school/blob/main/src/app/page.tsx"
    click About "https://github.com/jaksoftwares/highrise-school/blob/main/src/app/about/page.tsx"
    click Academics "https://github.com/jaksoftwares/highrise-school/blob/main/src/app/academics/page.tsx"
    click Admissions "https://github.com/jaksoftwares/highrise-school/blob/main/src/app/admissions/page.tsx"
    click CoCurr "https://github.com/jaksoftwares/highrise-school/blob/main/src/app/co-curricular/page.tsx"
    click Contact "https://github.com/jaksoftwares/highrise-school/blob/main/src/app/contact/page.tsx"
    click Gallery "https://github.com/jaksoftwares/highrise-school/blob/main/src/app/gallery/page.tsx"
    click NewsEventsPage "https://github.com/jaksoftwares/highrise-school/blob/main/src/app/news-events/page.tsx"
    click Login "https://github.com/jaksoftwares/highrise-school/blob/main/src/app/login/page.tsx"
    click ComponentsDir "https://github.com/jaksoftwares/highrise-school/tree/main/src/app/components/"
    click Navbar "https://github.com/jaksoftwares/highrise-school/blob/main/src/app/components/Navbar.tsx"
    click Hero "https://github.com/jaksoftwares/highrise-school/blob/main/src/app/components/HeroSection.tsx"
    click CTA "https://github.com/jaksoftwares/highrise-school/blob/main/src/app/components/CTASection.tsx"
    click Highlight "https://github.com/jaksoftwares/highrise-school/blob/main/src/app/components/HighlightCards.tsx"
    click NewsWidget "https://github.com/jaksoftwares/highrise-school/blob/main/src/app/components/NewsEvents.tsx"
    click Testimonial "https://github.com/jaksoftwares/highrise-school/blob/main/src/app/components/Testimonial.tsx"
    click Footer "https://github.com/jaksoftwares/highrise-school/blob/main/src/app/components/Footer.tsx"
    click Static "https://github.com/jaksoftwares/highrise-school/tree/main/public/"
    click NextConfig "https://github.com/jaksoftwares/highrise-school/blob/main/next.config.ts"
    click Tailwind "https://github.com/jaksoftwares/highrise-school/blob/main/tailwind.config.js"
    click PostCSS "https://github.com/jaksoftwares/highrise-school/blob/main/postcss.config.js"
    click TSConfig "https://github.com/jaksoftwares/highrise-school/blob/main/tsconfig.json"
    click ESLint "https://github.com/jaksoftwares/highrise-school/blob/main/eslint.config.mjs"
    click Package "https://github.com/jaksoftwares/highrise-school/blob/main/package.json"

    %% Styles
    classDef client fill:#9f6,stroke:#333,stroke-width:1px
    classDef server fill:#6cf,stroke:#333,stroke-width:1px
    classDef static fill:#ccc,stroke:#333,stroke-width:1px
    classDef build fill:#fc6,stroke:#333,stroke-width:1px
    classDef external fill:#c9f,stroke:#333,stroke-width:1px
```
