Skip to content

Next.js project boilerplate with pre-configured linters, pnpm, TypeScript, initial project structure and path aliases.

Notifications You must be signed in to change notification settings

adrianos10/next-js-starter

Repository files navigation

This is a Next.js project starter bootstrapped using create-next-app with pre-installed linters using my preferred and opinionated configuration, which helps to write consistent and clean code in the project.

Features

  • Prettier
  • ESlint
  • husky
  • lint-staged
  • pnpm as a package manager
  • TypeScript
  • initial project structure
  • import inside src using @/* as well as items from public using public/*

Additional scripts

  • pnpm run format - run Prettier formatter on all files
  • pnpm run check-types - run TypeScript compiler on all files to validate them
  • pnpm run lint - run ESlint on all files with TypeScript compiler

Getting Started

First, run the development server:

pnpm run dev
# or
yarn dev

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

About

Next.js project boilerplate with pre-configured linters, pnpm, TypeScript, initial project structure and path aliases.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published