Starting a new project usually involves wasting loads of hours setting up the same boilerplate. If you're developing with Next.js we have an awesome base repo for you.
- Slightly opinionated boilerplate designed for enterprise applications with clean code samples.
- Integrated authentication + authorization support through Auth0.
- Security hardened server that automatically finds & fixes vulnerabilities in dependencies through Helmet and Synk.
- Extensive component library through Semantic UI.
- Optionally serves AMP validated mobile experiences.
- Near-instant page loads and autocompleting instant search though Algolia.
- Collect detailed analytics and metrics through Segment.
Developer Experience
- Unit Testing with Jest/Enzyme + Gherkin for product managers.
- UI Testing with Selenium IDE + BrowserStack integration.
- Docker, Heroku ready.
- ES6 ready with linting + automatic fixes for JavaScript, JSX, JS in Markdown.
- Supports CSS, Sass or Less with linting through Stylelint.
Nextjs Customizations
- Advanced routing ready through the modern fork of next-routes.
- Dotenv support keeps secrets out of the codebase.
- Webpack extensions wrapped with next-compose for an easier to use
next.config.js
. Plugins bundle-analyzer and next-size help you understand build size and composition.
[TOC]
sadasdasd
This boilerplate uses Yarn commands internally. These can easily be swapped out with traditional npm run
. We feel that Yarn is a little easier to use and faster at most things.
Working with React*
build:
Working with Semantic UI theming
build:
CI/CD Processes
build: