Skip to content

teo-garcia/react-template-next

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Package License Package Version

React Template Next

Start building modern web applications using React and Next.js.

Requirements

  • Node 18+
  • Git 2+
  • pnpm 8

Installation

  1. Get the template using npx degit:
  npx degit teo-garcia/react-template-next my_project
  1. Install the dependencies:
  pnpm install
  1. Run the project:
  pnpm dev

Tools

  • Next 14.
  • React 18.
  • Tailwind 3.
  • Typescript 4.
  • ESLint 8 + Prettier 3.
  • Husky 8 + Lint Staged 15.
  • Jest 29 + Testing Library React 14.
  • Playwright 1.
  • MSW 2.

Commands

Command Description
dev Run dev:web.
build Run build:web.
dev:web Run next in DEV mode.
build:web Run next in PROD mode.
start:web Run next server (build required).
test:unit Run jest.
test:e2e Run dev, and playwright.
lint:css Lint CSS files.
lint:js Lint JS files.
create:component Creates a component at src/components/<name>.
create:feature Creates a component at src/features/<name>.

Releases

No releases published

Packages

No packages published