Next14 Boilerplate With I18n Trpc Nextauth

screenshot of Next14 Boilerplate With I18n Trpc Nextauth
nextjs
react
tanstack
tailwind
drizzle-orm
prisma

Next.js 14 boilerplate with i18n and NextAuth, TRPC, Tailwind CSS, TypeScript, Redis, Drizzle ORM, React Query, Storybook, Playwright, Jest, Testing Library, ESLint, Prettier, Husky, Lint-staged, Commitizen, Semantic Release, Spotlight, Argon2, Luxon, Zod, Superjson, Tailwind CSS, Stylelint

Overview

The Next.js 14+ boilerplate is a robust starting point for developers looking to build modern web applications with ease. This boilerplate prioritizes developer experience by integrating essential tools and frameworks such as i18n for internationalization, NextAuth for authentication, and a strong foundation of TypeScript. It’s designed to streamline the development process, allowing you to focus on building out your projects with minimal hassle. From error monitoring to type-safe environment variables, this boilerplate has you covered with a flexible architecture that empowers developers to customize their workflow.

Whether you're building a small personal project or a large-scale application, this boilerplate provides a comprehensive setup that includes best practices and key features out of the box. The combination of Tailwind CSS for styling and TRPC for type-safe API calls ensures that your application is not only visually appealing but also highly functional and maintainable.

Features

  • App Router Support: Effortlessly navigate your application with Next.js's latest routing capabilities.

  • TypeScript Integration: Enjoy type safety and enhanced developer productivity with TypeScript support throughout the boilerplate.

  • NextAuth Authentication: Simplify user authentication with built-in NextAuth integration for sign up, sign in, and sign out functionalities.

  • Type-safe ORM: Utilize DrizzleORM for database interactions, compatible with popular databases like SQLite, PostgreSQL, and MySQL.

  • Internationalization (i18n): Build multi-language applications effortlessly using next-intl and Crowdin for language management.

  • Linting and Formatting: Maintain high code quality with ESLint for linting and Prettier for consistent code formatting.

  • Unit and E2E Testing: Ensure application reliability with Jest for unit tests and Playwright for integration and E2E testing.

  • SEO Optimizations: Enhance your site's visibility with built-in SEO features, including metadata, sitemap generation, and performance maximization.

nextjs
Next.js

Next.js is a React-based web framework that enables server-side rendering, static site generation, and other powerful features for building modern web applications.

react
React

React is a widely used JavaScript library for building user interfaces and single-page applications. It follows a component-based architecture and uses a virtual DOM to efficiently update and render UI components

tanstack
TanStack

TanStack is a collection of high-quality, framework-agnostic libraries including TanStack Query for data fetching, TanStack Router for routing, TanStack Table for tables, and more. These tools provide powerful, type-safe solutions for common web development challenges.

tailwind
Tailwind

Tailwind CSS is a utility-first CSS framework that provides pre-defined classes for building responsive and customizable user interfaces.

drizzle-orm
Drizzle ORM

Drizzle ORM is a TypeScript ORM for SQL databases designed with maximum type safety in mind. It comes with a drizzle-kit CLI companion for automatic SQL migrations generation. Drizzle ORM is meant to be a library, not a framework. It stays as an opt-in solution all the time at any levels.

prisma
Prisma

Prisma is a server-side library that helps developers read and write data to the database in an intuitive, efficient and safe way.

fullstack
Fullstack

A fullstack boilerplate provides a starter application that includes both frontend and backend. It should include database, auth, payments, user roles and other backend services to build a fully featured saas or webapps.

template
Templates & Themes

A template or theme refers to a pre-designed layout or structure that provides a basic framework for building a specific type of application or website. It typically includes good design, placeholder content and functional features, allowing developers to customize and fill in the details according to their specific needs.

eslint
Eslint

ESLint is a linter for JavaScript that analyzes code to detect and report on potential problems and errors, as well as enforce consistent code style and best practices, helping developers to write cleaner, more maintainable code.

postcss
Postcss

PostCSS is a popular open-source tool that enables web developers to transform CSS styles with JavaScript plugins. It allows for efficient processing of CSS styles, from applying vendor prefixes to improving browser compatibility, ultimately resulting in cleaner, faster, and more maintainable code.

react-hook-form
React Hook Form

React Hook Form is a performant, flexible, and extensible form library for React with easy validation. It reduces re-renders and improves performance by using uncontrolled components and native HTML validation, making form handling simple and efficient.

Storybook

Storybook is a tool for developing and testing UI components in isolation. It provides a sandbox environment where you can experiment with different props and states to see how your component responds.

Stylelint

Stylelint is a modern linter for CSS that helps you avoid errors and enforce consistent styling conventions. It provides rules for detecting errors and warnings, and can be configured to match your specific project's requirements.

typescript
Typescript

TypeScript is a superset of JavaScript, providing optional static typing, classes, interfaces, and other features that help developers write more maintainable and scalable code. TypeScript's static typing system can catch errors at compile-time, making it easier to build and maintain large applications.

zod
Zod

Zod is a TypeScript-first schema declaration and validation library. It allows you to define schemas that can validate data at runtime while providing excellent TypeScript inference, making it perfect for API validation, form validation, and type-safe data handling.

Zustand

Zustand is a lightweight state management library for React that provides a simple and intuitive API for managing state in your application. It allows developers to easily create and manage global state, and provides a powerful set of tools for optimizing performance and improving developer productivity. Zustand is designed to be easy to use and easy to learn, making it a popular choice for developers of all skill levels.