Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
Next.js starter template with TypeScript, Tailwind CSS, shadcn/ui, ESLint, Prettier, and PWA.
Next.js Starter Template is a GitHub boilerplate for scaffolding a new Next.js 13 application with TypeScript, Tailwind CSS, shadcn/ui, and a pre-configured CI pipeline, maintained by AhmedBaset.
It is a reference starter that you instantiate through create-next-app with the template URL, producing a project folder complete with TypeScript, Tailwind CSS, shadcn/ui, ESLint, Prettier, GitHub Actions, and PWA configuration. The template pins to Next.js 13.5.3 and supports pnpm, npm, and yarn package managers. Its purpose is to eliminate repetitive setup so you can start coding features immediately.
./env.mjs.pnpm shadcn-ui add <component>.typedRoutes feature generates route definitions in .next/types so invalid next/link hrefs are caught by TypeScript.next.config.js contains configuration for progressive web app support.pnpm dev to start developing.next.config.js.To create a project, copy the command pnpm create next-app -e https://github.com/AhmedBaset/next-template my-app and run it in your terminal; npm and yarn equivalents are also provided. After scaffolding, the README advises running pnpm update --latest to refresh dependencies. Development and production workflows are managed through npm scripts such as dev, build, start, preview, and ci-check.
Run one of the provided commands, for example pnpm create next-app -e https://github.com/AhmedBaset/next-template my-app. This downloads the template and scaffolds a new Next.js project in the my-app folder. Afterwards, pnpm install and pnpm dev will get the app running.
The template defaults to pnpm and includes a pnpm-lock.yaml. If you prefer npm or yarn, delete that lockfile and run npm install or yarn install instead.
Yes, the template is described as "ready to use PWA" with configuration in next.config.js. You can extend that setup to add a service worker and manifest for installable apps.
Use the shadcn CLI: pnpm shadcn-ui add <component>. The optional --overwrite flag replaces existing files. This works because shadcn/ui and radix-ui are already installed.
No. The README lists configuring next-auth and Prisma as TODOs, so you will need to integrate authentication and a database yourself. The template focuses on the frontend and build tooling layer.
