Skip to content
Public template

About

A pragmatic Next.js template with strong guardrails and good architecture for the AI era.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nextjs-template

Warning

This template is experimental and under development. It is not production ready. Use at your own risk.

A pragmatic Next.js template with strong guardrails and good architecture for the AI era.

  • Next.js 16 (App Router, React Compiler), React 19, TypeScript 7, Tailwind 4
  • Effect 4 for data and IO, TanStack Query 5 for server state, MVI screens
  • shadcn/ui on Base UI, light and dark themes via next-themes
  • next-intl with English (default) and Bulgarian
  • Architecture enforced by Deslop, Biome for lint and format, Vitest + fast-check, Playwright, Storybook stories run as tests

See docs/ARCHITECTURE.md for the layers and patterns.

Getting started

Requires Nix with flakes. Every tool (Node, pnpm, just, the Playwright browsers) comes from the dev shell:

nix develop                 # enter the dev shell, or prefix each command:
nix develop -c just dev     # http://localhost:3000
nix develop -c just check   # everything CI runs
nix develop -c just mutation    # advisory mutation score, not part of check
nix develop -c just mutation-diff  # surviving mutants on the lines you changed

Other recipes: just --list.

The sample app is a todo list on DummyJSON. Log in with the demo account emilys / emilyspass. DummyJSON stores no writes, so added, toggled and deleted todos last until the next reload.

BE_URL is the backend's base URL (default https://dummyjson.com). Only the server reads it, at request time, so it can change without a rebuild. The Playwright run points it at an in-memory fake DummyJSON, so e2e needs no network.

About

A pragmatic Next.js template with strong guardrails and good architecture for the AI era.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages