An open API service indexing awesome lists of open source software.

https://github.com/benjaminwfox/nextjs-base

Next.js base project with eslint, jest, react testing library, and alias paths/absolute imports
https://github.com/benjaminwfox/nextjs-base

Last synced: over 1 year ago
JSON representation

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

Awesome Lists containing this project

README

          

## Next.js Base

This is a companion repository for the article [Next.js Setup & Config for Testing, Linting, and Absolute Imports](https://benjaminwfox.medium.com/next-js-setup-config-for-testing-linting-and-absolute-imports-605959d7bd6f?sk=810c7d21a70a3f83bf7aca00a9c42dfc).

### Includes Configuration for Sustainable Development

This is a [Next.js](https://nextjs.org/) project bootstrapped with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/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](http://localhost:3000) with your browser to see the result.