Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/karmaniverous/nextjs-template
A sweet Next.js project template. Integrates Redux Toolkit with with test support for Mocha + Chai + React Testing Library and release publishing via release-it.
https://github.com/karmaniverous/nextjs-template
chai es6 mocha nextjs react react-testing-library redux redux-toolkit release template testing
Last synced: about 5 hours ago
JSON representation
A sweet Next.js project template. Integrates Redux Toolkit with with test support for Mocha + Chai + React Testing Library and release publishing via release-it.
- Host: GitHub
- URL: https://github.com/karmaniverous/nextjs-template
- Owner: karmaniverous
- Created: 2022-07-12T03:57:18.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-08-12T05:58:21.000Z (3 months ago)
- Last Synced: 2024-08-12T07:03:16.505Z (3 months ago)
- Topics: chai, es6, mocha, nextjs, react, react-testing-library, redux, redux-toolkit, release, template, testing
- Language: JavaScript
- Homepage: https://template-nextjs.karmanivero.us
- Size: 913 KB
- Stars: 8
- Watchers: 2
- Forks: 2
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
Awesome Lists containing this project
README
# Next.js Template
Getting a [Next.js](https://nextjs.org/) application up and running is not a
trivial exercise, especially if you want a robust and extensible result that
will support a modern development process.Here's a plug-and-play
[Next.js template](https://github.com/karmaniverous/nextjs-template) that offers
the following features:- Tree-shakable support for the latest ES6 goodies with
[`eslint`](https://www.npmjs.com/package/eslint) _uber alles_.- User registration & authentication via
[NextAuth.js](https://next-auth.js.org/), by default against an
[AWS Cognito User Pool](https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-identity-pools.html)
supporting native username/password authentication and one federated identity
provider (Google).- Support for public & private API endpoints, both local to NextJS and at any
[AWS API Gateway](https://aws.amazon.com/api-gateway/) secured by the same
Cognito User Pool.- Configured to act as a front end & authentication client for my
[AWS API Template](https://github.com/karmaniverous/aws-api-template) on the
back end.- Fully integrated application state management with the
[Redux Toolkit](https://redux-toolkit.js.org/), including support for
difficult-to-serialize types like `Date` & `BigInt`.- Responsive UX with [Semantic UI React](https://react.semantic-ui.com/) with
LESS theme overrides enabled & ready for input!- A responsive & attractive sample UI that encapsulates a ton of common use
cases into an opinionated architecture and a library of utility components.- Automated [`lodash`](https://www.npmjs.com/package/lodash) cherry-picking with
[`babel-plugin-lodash`](https://www.npmjs.com/package/babel-plugin-lodash).- Front & back-end testing with [`mocha`](https://www.npmjs.com/package/mocha),
[`chai`](https://www.npmjs.com/package/chai), and the
[React Testing Library](https://www.npmjs.com/package/@testing-library/react).
Includes examples and a sweet testing console!- Code formatting at every save & paste with
[`prettier`](https://www.npmjs.com/package/prettier).- One-button release to GitHub with
[`release-it`](https://www.npmjs.com/package/release-it).**[Click here](https://karmanivero.us/blog/nextjs-template/) for full
documentation & instructions!**