This is a Next.js project bootstrapped with create-next-app.

Features

⚑Next.js with App Router support

πŸ“ Linter with ESLint (default Next.js, Next.js Core Web Vitals, Tailwind CSS and Airbnb configuration) - Detects errors and non-conforming elements in your codebase, providing reports on style violations and issues.

πŸ’– Code Formatter with Prettier - Automates the process of formatting code files to adhere to a standardized style, simplifying the writing process.

🦊 Husky for Git Hooks - Responds to specific Git events and automates tasks to manage development processes.

🚫 Lint-staged for running linters on Git staged files

πŸ’‘ Absolute Imports using @ prefix - It is a method used to specify file paths from the root directory of the project, thereby organizing file structures more neatly and reducing the length of file paths.

βš™ Bundler Analyzer - It is used to analyze dependencies and their sizes in JavaScript projects.

πŸ’― Maximize lighthouseΒ score - It maximizes a website's performance, accessibility, user experience, and technical metrics using Google's Lighthouse tool.

🎨 Stylelint with Style Rules Enforcement - It checks specific style rules in CSS and similar style-based files.

πŸ–ŒοΈ Basic theming support - A basic feature allowing easy theme customization for your application or website.

πŸ”„ SVGR - Converts SVG (Scalable Vector Graphics) files into React components.

🧠 Content Management with Sanity - Flexible, customizable, and headless content management for modern web applications.

Getting Started

First, run the development server:

cd my-project-name
npm install

Then, you can run the project locally in development mode with live reload by executing:

npm run dev

Open http://localhost:3000 with your browser to see the result.

You can start editing the page by modifying boilerplates.js. The page auto-updates as you edit the file.

This project uses next/font to automatically optimize and load Inter, a custom Google Font.

Project structure

β”‚
β”œβ”€β”€ src
β”‚   β”œβ”€β”€ app                         # Next JS App (App Router)
β”‚   β”œβ”€β”€ components                  # React components
β”‚   β”œβ”€β”€ content                     # Content folder
β”‚   β”‚   β”œβ”€β”€ components              # Boilerplates components
β”œβ”€β”€ .eslintrc.json                  # ESLint configuration
β”œβ”€β”€ .prettierrc.js                  # Prettier configuration
β”œβ”€β”€ .prettierignore                 # Files and directories to ignore by Prettier
β”œβ”€β”€ .stylelintrc.json               # Stylelint configuration
β”œβ”€β”€ jsconfig.json                   # JavaScript configuration
β”œβ”€β”€ next.config.mjs                 # Next.js configuration
β”œβ”€β”€ package-lock.json               # Exact versions of dependencies
β”œβ”€β”€ package.json                    # Project dependencies and scripts
β”œβ”€β”€ README.md                       # README file
β”œβ”€β”€ sanity.cli.js                   # Sanity CLI configuration
└── sanity.config.js                # Sanity project configuration