Code Monkey home page Code Monkey logo

sakilk130 / nextjs-13-boilerplate Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 1.0 329 KB

๐Ÿš€๐Ÿš€๐Ÿš€ Boilerplate and Starter for Next.js 13+, Tailwind CSS & TypeScript Made with developer experience first: Next.js + TypeScript + ESLint + Prettier + Husky + Lint-Staged + Jest + Testing Library + Cypress + Commitlint + VSCode + PostCSS + Tailwind CSS

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

License: MIT License

JavaScript 35.85% CSS 3.11% TypeScript 59.61% Shell 1.43%
boilerplate boilerplate-front-end boilerplate-template eslint jamstack js-boilerplate next-js next-js-template next-theme nextjs

nextjs-13-boilerplate's Introduction

Boilerplate and Starter for Next JS 13+, Tailwind CSS and TypeScript

๐Ÿš€๐Ÿš€ nextjs-13-boilerplate

Next.js + Tailwind CSS + TypeScript starter packed with useful development features.

Made by Sakil Khan

GitHub Repo stars

Features

This repository is ๐Ÿ”‹ battery packed with:

  • โšก๏ธ Next.js 13
  • โš›๏ธ React 18
  • โœจ TypeScript
  • ๐Ÿ’จ Tailwind CSS
  • ๐Ÿƒ Jest โ€” Configured for unit testing
  • ๐Ÿ“ˆ Absolute Import and Path Alias โ€” Import components using @/ prefix
  • ๐Ÿ“ ESLint โ€” Find and fix problems in your code, also will auto sort your imports
  • ๐Ÿ’– Prettier โ€” Format your code consistently
  • ๐Ÿถ Husky & Lint Staged โ€” Run scripts on your staged files before they are committed
  • ๐Ÿค– Conventional Commit Lint โ€” Make sure you & your teammates follow conventional commit
  • โฐ Release Please โ€” Generate your changelog by activating the release-please workflow
  • ๐Ÿ‘ท Github Actions โ€” Lint your code
  • ๐Ÿ”ฅ Snippets โ€” A collection of useful snippets
  • ๐Ÿ“ฆ Expansion Pack โ€” Easily install common libraries, additional components, and configs

Getting Started

1. Clone this template

git clone https://github.com/sakilk130/nextjs-13-boilerplate.git

2. Install dependencies

It is encouraged to use yarn so the husky hooks can work properly.

npm install

3. Run the development server

You can start the server using this command:

npm run dev

Open http://localhost:3000 with your browser to see the result. You can start editing the page by modifying src/app/page.tsx.

4. Change defaults

There are some things you need to change including title, urls, favicons, etc.

Find all comments with !STARTERCONF, then follow the guide.

Don't forget to change the package name in package.json

5. Commit Message Convention

This starter is using conventional commits, it is mandatory to use it to commit changes.

Are you using this starter? Please add your page (and repo) to the end of the list via a Pull Request. ๐Ÿ˜ƒ

nextjs-13-boilerplate's People

Contributors

sakilk130 avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

handx6

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.