test-starter-cloudlyn
v0.1.6
Published
This repository is π battery packed with:
Downloads
2
Readme
Features
This repository is π battery packed with:
- β‘οΈ Next.js 12
- βοΈ React 17
- β¨ TypeScript
- π¨ Tailwind CSS 3 β Configured with CSS Variables to extend the primary color
- π Pre-built Components β Components that will automatically adapt with your brand color, check here for the demo
- π 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
- β° Standard Version Changelog β Generate your changelog using
yarn release
- π· Github Actions β Lint your code on PR
- π Automatic Branch and Issue Autolink β Branch will be automatically created on issue assign, and auto linked on PR
- π₯ Snippets β A collection of useful snippets
- π Default Open Graph β Awesome open graph generated using og.thcl.dev, fork it and deploy!
- πΊ Site Map β Automatically generate sitemap.xml
- π¦ Expansion Pack β Easily install common libraries, additional components, and configs
See the π feature details and changelog π for more.
You can also check all of the details and demos on my blog post:
Getting Started
1. Clone this template using one of the three ways:
Use this repository as template
Disclosure: by using this repository as a template, there will be an attribution on your repository.
I'll appreciate if you do, so this template can be known by others too π
Using
create-next-app
npx create-next-app -e https://github.com/theodorusclarence/ts-nextjs-tailwind-starter project-name
Deploy to Vercel
2. Install dependencies
It is encouraged to use yarn so the husky hooks can work properly.
yarn install
3. Run the development server
You can start the server using this command:
yarn dev
Open http://localhost:3000 with your browser to see the result. You can start editing the page by modifying src/pages/index.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.
Expansion Pack π¦
This starter is now equipped with an expansion pack.
You can easily add expansion such as React Hook Form + Components, Storybook, and more just using a single command line.
https://user-images.githubusercontent.com/55318172/146631994-e1cac137-1664-4cfe-950b-a96decc1eaa6.mp4
Check out the expansion pack repository for the commands