Skip to content

Latest commit

 

History

History
63 lines (34 loc) · 2.51 KB

README.md

File metadata and controls

63 lines (34 loc) · 2.51 KB

Next.js boilerplate by Fixt

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.

What's awesome

  • 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.

Table of Contents

[TOC]

Getting started

Repo Structure

sadasdasd

NPM/Yarn commands

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: