BenjaminWFox/nextjs-base

Next.js base project with eslint, jest, react testing library, and alias paths/absolute imports

★ 12Forks 2JavaScriptGitHub ↗Compare

README

Next.js Base

This is a companion repository for the article Next.js Setup & Config for Testing, Linting, and Absolute Imports.

Includes Configuration for Sustainable Development

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

The additional configuration includes:

  • Linting with ESLint
  • Testing with Jest & Testing Library React
  • Aliased Paths/Absolute Imports.

All steps for configuration are documented in this tutorial.

Getting Started

Clone the project, then:

npm install / yarn install

followed by:

npm run dev / yarn dev

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

Contributors

BenjaminWFoxBenjaminWFox-Lumedic

Issues