Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
A Next.js boilerplate with TypeScript, Tailwind CSS, Chakra UI, and a full testing stack preconfigured.
Thank u, Next.js is a Next.js boilerplate that preconfigures TypeScript, Tailwind CSS, Chakra UI, and a complete testing stack for test-driven frontend development.
Thank u, Next.js is an open-source boilerplate created by narze and built by combining two official Next.js examples (with-tailwindcss-emotion and with-typescript-eslint-jest) with extra tooling. It takes a blank Next.js application and produces a project preconfigured for linting, formatting, unit testing, end-to-end testing, Storybook, and multiple styling systems. The template is designed for Next.js and can be deployed to Vercel.
--example flag pointing to this repository.To use the template, run npx create-next-app --example https://github.com/narze/thank-u-nextjs my-app or the Yarn equivalent. After scaffolding, Husky runs linting and formatting on commit and push, and GitHub Actions executes the test suite on every push. Two public projects built with this template — typeland and toSkoy — are listed in the README as references.
Yes, the boilerplate is open source and available on GitHub at narze/thank-u-nextjs. You can use it as a starting point for personal or commercial projects without cost.
It includes Tailwind CSS loaded through Emotion and Twin.macro, plus Chakra UI. Twin.macro lets Tailwind classes be used as Babel macros, so no PurgeCSS is needed.
The template sets up Jest, ts-jest, and React Testing Library for unit tests, Cypress with Cypress Testing Library for end-to-end tests, and Storybook for UI testing. All three layers are described in the development workflow.
Use the Deploy with Vercel button in the README, which imports the GitHub repository as a template into Vercel. Alternatively, deploy it like any other Next.js app.
