RiskySaptra / nextjs-boilerplate

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

Home Page:https://nextjs-boilerplate-hadrysm.vercel.app/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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:

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

πŸš€ Deploy to production

You can see the results locally in production mode with:

yarn build
yarn start

βš™οΈ Generating components

yarn 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 Β© 2022

See LICENSE for more information.


Made with much ❀️ and πŸ’ͺ by Mateusz HadryΕ› 😊 My Contact

About

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

https://nextjs-boilerplate-hadrysm.vercel.app/

License:MIT License


Languages

Language:TypeScript 48.9%Language:JavaScript 42.8%Language:Handlebars 5.1%Language:Shell 2.9%Language:CSS 0.4%