Introduction · Features · Deployment · Contribution · Support
A starter template based on Next.js 14+, featuring app router, shadcn/ui, type-safe environment variables, icons and config setup, and support for next-intl internationalization. Ideal for quickly starting and developing modern web applications.
- Next.js 14 (App router)
- React 18
- Typescript
- TailwindCSS
- Shadcn/ui
- next-intl - Internationalization for Next.js
- Zod - Schema validation library
- Prettier - Code formatter
- Eslint - Code linting tool
- Husky & Lint Staged
- Icons - From Lucide
- Dark mode - With next-themes
- Sitemap & robots.txt - With next-sitemap
- T3-env - Manage your environment variables
- Perfect Lighthouse score
You can deploy this template to Vercel with the button below:
You can also clone & create this repo locally with the following command:
npx create-next-app -e https://github.com/zjy365/next-template my-project-name
- Install dependencies
pnpm i
-
Set up environment variables Create
.env
file and set env variables from.env.example
file. -
You can start the server using this command:
pnpm dev
- open http://localhost:3000/ to see this app.
To contribute, please follow these steps:
- Fork the repository.
- Create a new branch.
- Make your changes, and commit them.
- Push your changes to the forked repository.
- Create a pull request.
If you liked the project, I will appreciate if you leave a star. 🌟😊