An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

          

# NextStarter

A modern, zero-config Next.js v15 starter template with TypeScript, TailwindCSS v4, and developer-friendly tooling.

![Next.js Badge](https://img.shields.io/badge/Next.js-15.0.0-black)
![TypeScript Badge](https://img.shields.io/badge/TypeScript-5.7.3-blue)
![TailwindCSS Badge](https://img.shields.io/badge/TailwindCSS-4.0.0-38B2AC)

## 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:

[![Deploy with Vercel](https://vercel.com/button)](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