Skip to content

My web boilerplate using Next.js + PWA, Typescript, Storybook v6+, React.js, Styled Components and Jest + React Testing Library ๐Ÿ”ฅ ๐Ÿš€

Notifications You must be signed in to change notification settings

dutradotdev/my-boilerplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

33 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Getting Started

My personal template using the following technologies:

  • Next.js + PWA
  • Typescript
  • Storybook v6+
  • React.js
  • Styled Components
  • Jest + React Testing Library
  • Eslint + Prettier + Editorconfig

You can create a project based on this boilerplate using:

  yarn create next-app -e https://github.com/dutradotdev/my-boilerplate

Do not forget

  • Change the manifest.json before use
  • Delete the initial component, snapshot and test

Commands

To create your components

yarn generate <component_name>

This will create:

  • index.tsx
  • style.ts
  • tests.tsx
  • stories.tsx

To run the project in the dev mode

yarn dev

To build project

yarn build

To start the project

yarn start

To lint the project

yarn lint

To run tests

yarn test
yarn test:watch

To run storybook

yarn storybook

To build storybook in order to publish

yarn build-storybook

About

My web boilerplate using Next.js + PWA, Typescript, Storybook v6+, React.js, Styled Components and Jest + React Testing Library ๐Ÿ”ฅ ๐Ÿš€

Resources

Stars

Watchers

Forks

Packages

No packages published