Coder Social home page Coder Social logo

singularity's Introduction

Next.js + Mantine UI + TypeScript Starter and Boilerplate

πŸ”‹ ts-nextjs-mantine-starter

Next.js 14+, Mantine UI, TypeScript starter packed with useful development features.

Made by OneDev

Features

Developer experience first, extremely flexible code structure and only keep what you need:

  • ⚑ Next.js with App Router support
  • πŸ”₯ Type checking TypeScript
  • πŸ’Ž Integrate with Mantine UI
  • βœ… Strict Mode for TypeScript and React 18
  • ♻️ Type-safe environment variables with T3 Env
  • ⌨️ Form handling with React Hook Form
  • πŸ”΄ Validation library with Zod
  • ⏲️ Date config with Dayjs
  • πŸ“ Linter with ESLint (default Next.js, Next.js Core Web Vitals, Airbnb configuration)
  • πŸ’– Code Formatter with Prettier
  • 🦊 Husky for Git Hooks
  • 🚫 Lint-staged for running linters on Git staged files
  • πŸš“ Lint git commit with Commitlint
  • πŸ““ Write standard compliant commit messages with Commitizen
  • πŸ’‘ Absolute Imports using @ prefix
  • πŸ—‚ VSCode configuration: Settings
  • πŸ€– SEO metadata, Open Graph tags
  • πŸ—ΊοΈ Sitemap.xml and robots.txt
  • βš™οΈ Bundler Analyzer
  • πŸ’― Maximize lighthouse score

Built-in feature from Next.js:

  • β˜• Minify HTML & CSS
  • πŸ’¨ Live reload
  • βœ… Cache busting

Requirements

  • Node.js 20+ and npm

Getting started

Run the following command on your local environment:

git clone --depth=1 https://github.com/MTeguhIrawan1996/singulartw.git my-project-name
cd my-project-name
yarn

Then, you can run the project locally in development mode with live reload by executing:

yarn dev

Open http://localhost:3000 with your favorite browser to see your project.

Project structure

.
β”œβ”€β”€ README.md                       # README file
β”œβ”€β”€ .husky                          # Husky configuration
β”œβ”€β”€ .vscode                         # VSCode configuration
β”œβ”€β”€ public                          # Public assets folder
β”œβ”€β”€ src
β”‚   β”œβ”€β”€ app                         # Next JS App (App Router)
β”‚   β”œβ”€β”€ components                  # React components
β”‚   β”œβ”€β”€ services                    # Api Services folder
β”‚   β”œβ”€β”€ libs                        # 3rd party libraries configuration
β”‚   β”œβ”€β”€ styles                      # Styles folder
β”‚   β”œβ”€β”€ types                       # Type definitions
β”‚   β”œβ”€β”€ utils                       # Utilities folder
β”‚   └── test-utils                  # Testing utilities config
└── tsconfig.json                   # TypeScript configuration

Commit Message Format

The project enforces Conventional Commits specification. This means that all your commit messages must be formatted according to the specification. To help you write commit messages, the project uses Commitizen, an interactive CLI that guides you through the commit process. To use it, run the following command:

yarn git:commit

singularity's People

Contributors

mteguhirawan1996 avatar

Stargazers

 avatar Roni Ardiyanto avatar

Watchers

 avatar

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.