/frontend-starterkit

Starter kit, Nextjs, React, Typescript, Jest, Eslint, Prettier, React Query & Storybook

Primary LanguageTypeScriptMIT LicenseMIT

Next JS starter kit

This is a oneline command install

  • Latest version of NextJS
  • Typescript
  • Jest, React library: For unit testing
  • Fetch mock: Unit test API fetch calls
  • Jest config setup
  • React query: For fetch calls
  • Eslint setup
  • Prettier setup
  • ESlint team config rules
  • Prettier team config rules
  • Storybook: for documenting your components
  • Github workflow for storybook pages and deploy
  • Github workflow for checking unit tests pass

Simply run the below. Replace project_name

npx @rottitime/create-starter-kit project_name

This will create, and install frontend framework incorporating libraries and linting rules

How to run the project

Test your code

  • npm run test:all

How to generate the static build

  • npm run build:static
  • Explore the /out directory