Skip to content

Next.js 14 base boilerplate. Next.js 14+ TypeScript + ESLint + Prettier + Husky + Lint-Staged + Commitlint+ Vitest + React Testing Library + Tailwind CSS + Pino

Notifications You must be signed in to change notification settings

qinsong77/Next-js-Boilerplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Next.js 14 Boilerplate

This is a Next.js 14 Boilerplate project base on create-next-app.

Features

Demos

TODO

  • i18n
  • E2E test
  • Zustand, too simplify, maybe RTK if needed
  • after gpr, run pnpm install automatically
  • how to update rsc in client?
  • Update to Next.js 15
  • How to test, the test strategy/architecture with RSC
  • in table pagination demo, Suspense fallback will cover table pagination and header when paginate on client, how to show them when request on client

Know issues

  • eslint-plugin-vitest can't updated, otherwise eslint will be broken. => 'plugin:prettier/recommended',
  • Standalone building output can't run if copy it's folder, cause pnpm symlink, node_module cant resolve correctly. It can be avoided by installing the package with node-linker=hoisted in the pnpm configuration before standalone output.

Refers:

Good article

Getting Started

First, run the development server:

# or
pnpm dev
# or
pnpm dev:turbo

Open http://localhost:3000 with your browser to see the result.

You can start editing the page by modifying app/page.tsx. The page auto-updates as you edit the file.

This project uses next/font to automatically optimize and load Inter, a custom Google Font.

Learn More

To learn more about Next.js, take a look at the following resources:

You can check out the Next.js GitHub repository - your feedback and contributions are welcome!

Deploy on Vercel

The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.

Check out our Next.js deployment documentation for more details.

About

Next.js 14 base boilerplate. Next.js 14+ TypeScript + ESLint + Prettier + Husky + Lint-Staged + Commitlint+ Vitest + React Testing Library + Tailwind CSS + Pino

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published