Skip to content

sudipstha08/next-ts-template

Repository files navigation

Next.js TS template 📚

This is a NextJS Template with Typescript

Basic commands 🔧

Commands Description
yarn start-dev run the development server
yarn install install dependencies
yarn lint run linter
yarn remove remove a package
yarn build build application

How to get started ? 🏃

  • Clone Repository
  • Install dependencies yarn install
  • Create .env in the root directory. Take .env.example as reference
  • Run development server yarn start-dev

Tech Stacks 📦

Tech Description
next SSR
axios promise based HTTP client
@tanstack/react-query data fetching library
ant design CSS library
eslint/prettier linting
styled-components CSS on JS
react-hook-form form library
zod object schema validation
typescript type safety for JS

References

  1. https://nextjs.org/docs/getting-started
  2. https://github.com/jquense/yup
  3. https://react-query.tanstack.com/
  4. https://www.conventionalcommits.org/en/v1.0.0/

Happy coding ✌️