A TypeScript starter for Next.js that includes all you need to build amazing projects 🔥

  • 📏 ESLint — Pluggable JavaScript linter
  • 💖 Prettier - Opinionated Code Formatter
  • 🐶 Husky — Use git hooks with ease
  • 🚫 lint-staged - Run linters against staged git files
  • 🐙 React Testing Library (RTL) - Builds by adding APIs for working with React components
  • 🃏 Jest - A delightful JavaScript Testing Framework with a focus on simplicity
  • ⚡️ Chakra UI - A simple, modular and accessible component library that gives you the building blocks you need to build your React applications

Other libs

  • Axios
  • Polished
  • Unform
  • Yup

Plugin Eslint

  • import-helpers

🚀 Getting started

The best way to start with this template is using create-next-app.

npx create-next-app project-name -e https://github.com/jjunior96/next-chakra-template

If you prefer you can clone this repository and run the following commands inside the project folder:

  1. npm install or yarn;
  2. yarn dev;

To view the project open http://localhost:3000.

🤝 Contributing

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

After your pull request is merged, you can safely delete your branch.


Made with ♥ by Junior Alves