Home
Softono
nextarter-chakra

nextarter-chakra

Open source MIT TypeScript
840
Stars
105
Forks
1
Issues
4
Watchers
1 week
Last Commit

About nextarter-chakra

# nextarter-chakra <img src="https://og.sznm.dev/api/generate?heading=nextarter-chakra&text=Next.js+template+with+Chakra-UI+and+TypeScript+setup.&template=color&center=true&height=330" /> <div align="center"> <a href="https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Fagustinusnathaniel%2Fnextarter-chakra" target="_blank"><img src="https://vercel.com/button" alt="Deploy with Vercel" /></a> <a href="https://app.netlify.com/start/deploy?repository=https://github.com/agustinusnathaniel/nextarter-chakra" target="_blank"><img src="https://www.netlify.com/img/deploy/button.svg" alt="Deploy to Netlify" /></a> <a href="https://railway.app/new/template/aqmmai?referralCode=9lKVVo" target="_blank"><img src="https://railway.app/button.svg" alt="Deploy on Railway" height="32px" /></a> <a href="https://stackblitz.com/github/agustinusnathaniel/nextarter-chakra" target="_blank"><img src="https://developer.stackblitz.com/img/open_in_stackblitz.svg" alt="Open in StackBlitz" /></a> <p>This is a <a hr ...

Platforms

Web Self-hosted

Languages

TypeScript

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