Nextjs Boilerplate

screenshot of Nextjs Boilerplate
nextjs
react
vite
tailwind

A super powerful NextJS boilerplate developed following the Feature driven pattern

Overview:

The Next.js Core Project is a software development project that follows a set of core values, including writing clean code, thinking before coding, and taking responsibility for work. The project aims to foster a collaborative environment where team members teach and learn from each other. It is built with Next.js, a popular React framework, and utilizes various technologies such as Antd Design, React Query, Zustand, Commit lint, Eslint, Prettier, Storybook, Vitest, Apollo Server, and Apollo Client. The project has a clean folder structure and features a feature-driven architecture. It also supports multilingualism without changing routes and ensures proper validation of environment variables and branch and commit rules.

Features:

  • Clean folder structure: The project has a well-organized and clear folder structure, making it easy to navigate and understand the codebase.
  • High scalability: The architecture of the project is designed to support scalability, allowing it to handle a large number of users and data.
  • Feature-driven architecture: The project follows a feature-driven architecture, which promotes modular development and code reusability.
  • Multilingualism without changing routes: The project supports multilingualism without the need to change routes, providing a seamless experience for users speaking different languages.
  • Validate ENV before build: The project ensures that environment variables are properly validated before the build process, preventing errors and ensuring a stable deployment.
  • Validate branch and commit before code commit: The project enforces rules for branch and commit names, ensuring consistency and a clean commit history.
  • Support Storybook: The project utilizes Storybook, a development tool for visualizing and testing UI components, making it easier to build and maintain UI elements.
  • Support Unit Test: The project supports unit testing, allowing for the verification of individual units of code to ensure they function correctly.

Summary:

The Next.js Core Project is a well-structured software development project that follows a set of core values and best practices. It boasts features such as a clean folder structure, scalability, feature-driven architecture, multilingualism support, and validation of environment variables, branch names, and commit messages. The project utilizes various technologies and tools to facilitate development, testing, and maintenance. With easy installation steps, developers can quickly get started with the Next.js Core Project and benefit from its features and best practices.

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

vite
Vite

Vite is a build tool that aims to provide a faster and leaner development experience for modern web projects

tailwind
Tailwind

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

Sonner

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.

framer-motion
Framer Motion

Alpine.js is a lightweight JavaScript framework that simplifies the process of creating dynamic, reactive user interfaces on the web. It uses a declarative syntax that offers a higher level of abstraction compared to vanilla JavaScript, while being more performant and easier to use than jQuery.

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.

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.

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.