MCPcopy Index your code
hub / github.com/agustinusnathaniel/nextarter-chakra

github.com/agustinusnathaniel/nextarter-chakra @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
21 symbols 56 edges 22 files 0 documented · 0%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

nextarter-chakra

Deploy with Vercel Deploy to Netlify Deploy on Railway

Open in StackBlitz

This is a Next.js project bootstrapped with create-next-app, added with Chakra UI and TypeScript setup.

Start developing right away!

This is a Next.js + Chakra UI + TypeScript starter template packed with modern tooling setup.

🚀 Features

🏗 System Architecture

This project uses a Split-Layer architecture to separate Next.js routing concerns from React UI logic.

graph TD
    subgraph "Routing Layer (src/app)"
        L[layout.tsx] --> Providers
        P[page.ts] --> Logic
    end

    subgraph "Logic Layer (src/lib)"
        Providers --> Layout[Layout Component]
        Layout --> Header
        Layout --> Footer
        Logic --> HomePage[Page Component]
    end

    subgraph "UI Layer (src/components)"
        HomePage --> Components
        Header --> Components
        Footer --> Components
    end

📂 Repository Structure

The code is organized to keep business logic and routing separate:

src/
├── app/            # Next.js App Router (Entry points)
│   ├── layout.tsx  # Global RootLayout & Providers
│   └── page.ts     # Re-exports Home from lib/pages
├── components/     # Shared UI components
│   └── ui/         # Primitives (Buttons, Inputs, etc.)
└── lib/            # Application Business Logic
    ├── layout/     # Shell components (Header, Footer)
    ├── pages/      # Page implementations (Home, etc.)
    └── styles/     # Theme configuration

🛠 Getting Started

1. Install Dependencies

This project uses pnpm.

pnpm install

2. Run Development Server

pnpm dev

Open http://localhost:3000 to view it in the browser.

3. Build for Production

pnpm build

4. Run Tests

pnpm test:e2e

🧹 Code Quality

We use Biome for fast formatter and linter.

# Check code issues
pnpm biome:check

# Fix issues automatically
pnpm biome:fix

Extension points exported contracts — how you extend this code

TooltipProps (Interface)
(no doc)
src/components/ui/tooltip.tsx
ColorModeButtonProps (Interface)
(no doc)
src/components/ui/color-mode.tsx
ButtonLoadingProps (Interface)
(no doc)
src/components/ui/button.tsx
ButtonProps (Interface)
(no doc)
src/components/ui/button.tsx

Core symbols most depended-on inside this repo

useColorMode
called by 3
src/components/ui/color-mode.tsx
ColorModeProvider
called by 0
src/components/ui/color-mode.tsx
toggleColorMode
called by 0
src/components/ui/color-mode.tsx
useColorModeValue
called by 0
src/components/ui/color-mode.tsx
ColorModeIcon
called by 0
src/components/ui/color-mode.tsx
Provider
called by 0
src/components/ui/provider.tsx
Layout
called by 0
src/lib/layout/index.tsx
Footer
called by 0
src/lib/layout/components/footer.tsx

Shape

Function 17
Interface 4

Languages

TypeScript100%

Modules by API surface

src/components/ui/color-mode.tsx6 symbols
src/components/ui/button.tsx2 symbols
src/lib/pages/home/index.tsx1 symbols
src/lib/pages/home/components/some-text.tsx1 symbols
src/lib/pages/home/components/some-image.tsx1 symbols
src/lib/pages/home/components/helper-image.tsx1 symbols
src/lib/pages/home/components/cta-section.tsx1 symbols
src/lib/pages/404/index.tsx1 symbols
src/lib/layout/index.tsx1 symbols
src/lib/layout/components/header.tsx1 symbols
src/lib/layout/components/footer.tsx1 symbols
src/components/ui/tooltip.tsx1 symbols

For agents

$ claude mcp add nextarter-chakra \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact