Skip to content

theorib/next-js-boiler-room

Repository files navigation

Next Boiler Room

Description

An opinionated boilerplate for Next.js 15.

Getting Started

Prerequisites

Package Manager

This project uses pnpm as the package manager. If you want to use a different package manager, you will need to update the packageManager field in package.json as well as the scripts section in package.json, replacing pnpm and pnpm dlx with the appropriate commands for your package manager.

Node.js

First install dependencies:

pnpm install
# or
npm install
# or
yarn install
# or
bun install

Run the development server:

pnpm dev
# or
npm run dev
# or
yarn dev
# or
bun dev

Your local development server will normally be available at http://localhost:3000 but see the message in the terminal to double check where the host is running. Open it with your browser to see the result.

Scripts

  • dev: Starts the development server.
  • build: Builds the application for production.
  • start: Starts the production server.
  • lint: Runs ESLint to check for linting errors.
  • lint:fix: Runs ESLint to check for linting errors and fixes them automatically.
  • lint:nextlint: Runs Next.js Linting version of ESlint to check for linting errors.
  • lint:debug: Runs ESLint to check for linting errors and prints debug information.
  • lint:inspector: Opens ESlint Config Inspector in your browser. Super useful for troubleshooting eslint issues.
  • lint:debug:prettier: runs eslint-config-prettier to check for conflicts between ESLint and Prettier. Also useful for debugging ESlint configuration issues.
  • typecheck: Runs TypeScript to check for type errors.
  • test: Runs Vitest to run tests.
  • test:coverage: Runs Vitest to run tests and generates a coverage report.
  • test:ui: Runs Vitest to run tests and opens the test runner in your browser.

About

An opinionated boilerplate for Next.js 15

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published