Create a new repository by clicking the Use this template
button on the repository page.
First, install the dependencies:
npm install
# or
yarn
# or
pnpm install
# or
bun install
Then, run the development server:
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev
Open http://localhost:3000 with your browser to see the result.
You can start editing the page by modifying app/page.tsx
. The page auto-updates as you edit the file.
This project uses next/font
to automatically optimize and load Inter, a custom Google Font.
- Tailwind CSS
- ShadeCn
- Sooner
- Next themes
- zod
- Date-fns
- React-hook-form
- Lucide
- T3 Env
- Tanstack query
- Tanstack Table
- TypeScript
- ESLint
- Prettier
- Tailwind CSS
- ShadeCn
- commitlint & husky
.
├── components
├── hooks
├── app
│ ├── layout
│ ├── page.tsx
│ ├── favicon.ico
│ ├── global.css
│ └── (other files and folders)
├── lib
│ ├──utils.ts
│ ├──...others
├── public
├── scripts
├── (other folders and files)
└── tsconfig.json
dev
: Run the development serverbuild
: Build the app for productionstart
: Run the production buildlint
: Run ESLintlint:fix
: Run ESLint and fix issuesformat
: Run Prettierformat:fix
: Run Prettier and fix issuescommit
: Run commitizen
Read how to use T3 Env for environment variables.
we setup T3 Env for environment variables. You can create a .env
file in the root directory and add your environment variables there. and register in env.mjs
file.
This project uses commitlint to lint commit messages. The commit message convention is based on Conventional Commits.
<type>[optional scope]: <description>
Or you can use the interactive commit message prompt by running
npm run commit
# or
yarn commit
# or
pnpm commit
# or
bun commit
To learn more about Next.js, take a look at the following resources:
- Next.js Documentation - learn about Next.js features and API.
- Learn Next.js - an interactive Next.js tutorial.
You can check out the Next.js GitHub repository - your feedback and contributions are welcome!
The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.
Check out our Next.js deployment documentation for more details.