next-tailwind-react-query-test-suite- Tailwind Templates

Next Tailwind React Query Test Suite

Next.js Base

This is a NextJS Starter template

Includes Configuration for Sustainable Development

This is a Next.js project bootstrapped with create-next-app.

The additional configuration includes:

  • TailwindCSS -React Query (Cache Server data and make Api Request)
  • Linting with ESLint
  • Testing with Jest & Testing Library React
  • Aliased Paths/Absolute Imports.
  • react-hook-form (works like formik but more optimized)
  • Yup (validation)
  • Cogo-toast (Display toast notification)
  • @hookform/resolvers (Allows you use Yup with react-hook-form)
  • Jest and @testing-library/react

Getting Started

Clone the project, then:

npm install / yarn install

followed by:

npm run dev / yarn dev

To Use Environmental variables

Create .env.local and prefix it with NEXT_PUBLIC_ followed by the environmental variable name

Open http://localhost:3000 with your browser to see the result.

Top categories

Loading Svelte Themes