/nextjs-react-app-base

Primary LanguageTypeScriptMIT LicenseMIT

Patagonian Next.js Base App

Overview

This is a basic Next.js app with that can be used as a kickstarter for new Next.js projects. It has very useful set of tools already pre-configured and ready-to-go, which improves and eases the development process, and helps to increase the quality of your team's code. Those tools include:

  • TypeScript
  • ESLint
  • Prettier
  • Editorconfig
  • React Testing Library
  • Husky with pre-commit hook for running TypeScript validations, linters and tests
  • Styled Components

The app also has Unit Tests implemented and a Basic Two-Page Routing Schema.

Getting Started

First, install node modules:

yarn install

Then, you can start the server by executing:

yarn dev

Open http://localhost:3000 with your browser to see the result.

You can also run this command to execute TypeScript validations:

yarn check-ts

and this command to execute the tests:

yarn test

Learn More

To learn more about Next.js, take a look at the following resources:

You can check out the Next.js GitHub repository