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
- Host: GitHub
- URL: https://github.com/benjaminwfox/nextjs-base
- Owner: BenjaminWFox
- Created: 2020-05-20T03:46:56.000Z (about 6 years ago)
- Default Branch: main
- Last Pushed: 2023-03-04T21:01:35.000Z (over 3 years ago)
- Last Synced: 2025-03-26T02:42:39.793Z (over 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 723 KB
- Stars: 12
- Watchers: 2
- Forks: 2
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
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.