• Stars
    star
    113
  • Rank 310,115 (Top 7 %)
  • Language
    TypeScript
  • License
    MIT License
  • Created over 2 years ago
  • Updated 10 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

๐Ÿš€ Next.js 14+ boilerplate with typescript, husky, lint-staged, eslint, prettier, jest, react-testing-library, storybook, ghaction and plop.

Boilerplate and Starter for Next JS 14+, Tailwind CSS 3 and TypeScript

๐Ÿš€ Boilerplate and Starter for Next.js, Tailwind CSS and TypeScript โšก๏ธ Made with developer experience first: Next.js (app routing), TypeScript, ESLint, Prettier, Husky, Lint-Staged, Jest, React Testing Library, PostCSS, Tailwind CSS, Storybook, Plop, GH actions.

Cover

๐Ÿš€ Features

Developer experience first:

๐Ÿ“… Plans

๐Ÿงช Testing

All tests are collocated with the source code inside the same directory. So, it makes it easier to find them. Coverage threshold is set to 70%. In the .jest folder there is a custom provider for the all tests.

โ„น๏ธ How To Use

To use this template you can simply click in Use this template or create your Next.js app based on this template by running:

pnpm create next-app -e https://github.com/hadrysm/nextjs-boilerplate

๐Ÿš€ Deploy to production

You can see the results locally in production mode with:

pnpm build
pnpm start

โš™๏ธ Generating components

pnpm generate Button

Result (if you chose an atom component):

โ””โ”€โ”€ components
      โ””โ”€โ”€ atoms
        โ””โ”€โ”€ Button
          โ”œโ”€โ”€ index.ts
          โ”œโ”€โ”€ Button.stories.tsx
          โ”œโ”€โ”€ Button.test.tsx
          โ””โ”€โ”€ Button.tsx

๐Ÿค Contributing

  1. Fork this repository;
  2. Create your branch: git checkout -b my-awesome-contribution;
  3. Commit your changes: git commit -m 'feat: Add some awesome contribution';
  4. Push to the branch: git push origin my-awesome-contribution.

License

Licensed under the MIT License, Copyright ยฉ 2024

See LICENSE for more information.


Made with much โค๏ธ and ๐Ÿ’ช by Mateusz Hadryล› ๐Ÿ˜Š My Contact