https://github.com/thecodermehedi/next-starter
Latest Next.js v15 React v19 Tailwind v4 Starter Template 2025
https://github.com/thecodermehedi/next-starter
boilerplate eslint github-actions husky latest nextjs nextjs-starter nextjs-template prettier react snippets starter tailwind-css-template tailwindcss typescript
Last synced: 12 months ago
JSON representation
Latest Next.js v15 React v19 Tailwind v4 Starter Template 2025
- Host: GitHub
- URL: https://github.com/thecodermehedi/next-starter
- Owner: thecodermehedi
- License: mit
- Created: 2025-03-27T09:56:30.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-04-13T12:15:30.000Z (about 1 year ago)
- Last Synced: 2025-05-16T21:15:45.163Z (about 1 year ago)
- Topics: boilerplate, eslint, github-actions, husky, latest, nextjs, nextjs-starter, nextjs-template, prettier, react, snippets, starter, tailwind-css-template, tailwindcss, typescript
- Language: TypeScript
- Homepage: https://nextjs-starter-latest-template.vercel.app
- Size: 326 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# NextStarter
A modern, zero-config Next.js v15 starter template with TypeScript, TailwindCSS v4, and developer-friendly tooling.



## Features
- โก **Next.js 15** with App Router
- ๐ค **TypeScript** for type safety
- ๐
**TailwindCSS v4** for styling
- ๐ **ESLint & Prettier** for code quality
- ๐ **App Router** with loading/error states
- ๐ **Type-safe env vars** with T3 Env
- ๐งฉ **SEO optimization** with sitemap, robots.txt, and manifest
- ๐ ๏ธ **Husky** pre-commit hooks
- ๐งช **CI workflow** with GitHub Actions
- ๐ฑ **PWA ready** with proper manifest and icons
## ๐ Deployment
Easily deploy your Next.js app with Vercel by clicking the button below:
[](https://vercel.com/new/clone?repository-url=https://github.com/thecodermehedi/next-starter)
## ๐ฏ Getting Started
### Prerequisites
- Node.js 20+
- pnpm 10.8.0+ (recommended)
### Installation
> Clone this template in one of three ways
#### Click the link below:
> [Create a new repository with this template](https://github.com/new?template_name=next-starter&template_owner=thecodermehedi)
#### Using `create-next-app`
```bash
pnpm create next-app -e https://github.com/thecodermehedi/next-starter my-project-name
```
#### Using `git clone`
```bash
git clone https://github.com/thecodermehedi/next-starter.git my-project
cd my-project
```
2. Install dependencies:
```bash
pnpm install
```
3. Run the development server:
```bash
pnpm dev
```
4. Open [http://localhost:3000](http://localhost:3000) in your browser.
#### Environment Variables
Create a `.env.local` file in the root directory with the following:
```bash
# Required - Your site's base URL
NEXT_PUBLIC_BASE_URL=http://localhost:3000
# Optional - Skip environment variable validation during development
# SKIP_ENV_VALIDATION=true
```
### โ๏ธ Scripts
- `pnpm dev` - Start development server with Turbopack
- `pnpm build` - Build for production
- `pnpm start` - Start production server
- `pnpm check` - Run linting, type checking, and format checking
- `pnpm fix` - Autofixing linting, typing and formatting errors
- `pnpm pre-commit` - Run checks and fix linting/formatting issues
## ๐ Structure
```bash
โโโ .github/ # GitHub Actions workflows
โโโ public/ # Static assets
โโโ src/
โ โโโ app/ # App router components and routes
โ โโโ components/ # Reusable components
โ โโโ config/ # Site configuration
โ โโโ env.ts # Type-safe environment variables
โ โโโ lib/ # Utility functions
โโโ next.config.js # Next.js configuration
```
## ๐ค 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.
## ๐ License
This project is licensed under the MIT License - see the [LICENSE](./LICENSE) file for details.
## โค๏ธ Support
If you liked the project, I will appreciate if you leave a star. ๐๐
Made by Mehedi Hasan