Skip to content
/ next-template Public template

A Next.js 14+ starter template with app router, shadcn/ui, type-safe environment variables, icons and config setup, and next-intl support for internationalization. Perfect for quickly starting modern web applications.

License

Notifications You must be signed in to change notification settings

zjy365/next-template

Repository files navigation

thubnail

English | 简体中文

Introduction · Features · Deployment · Contribution · Support

📖 Introduction

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.

🎉 Features

  • 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

🚀 Deployment

You can deploy this template to Vercel with the button below:

Deploy with Vercel

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
  1. Install dependencies
pnpm i
  1. Set up environment variables Create .env file and set env variables from .env.example file.

  2. You can start the server using this command:

pnpm dev
  1. open http://localhost:3000/ to see this app.

🤝 Contribution

To contribute, please follow these steps:

  1. Fork the repository.
  2. Create a new branch.
  3. Make your changes, and commit them.
  4. Push your changes to the forked repository.
  5. Create a pull request.

❤️ Support

If you liked the project, I will appreciate if you leave a star. 🌟😊

About

A Next.js 14+ starter template with app router, shadcn/ui, type-safe environment variables, icons and config setup, and next-intl support for internationalization. Perfect for quickly starting modern web applications.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published