A modern web application built with Next.js and TypeScript, following industry best practices for code quality and commit standards.
This project uses the following technologies:
- Next.js - React framework for production
- TypeScript - Static type checking
- ESLint - Code linting
- Prettier - Code formatting
- Husky - Git hooks
- lint-staged - Run linters on git staged files
- commitlint - Lint commit messages
- Node.js (version 18.x or higher)
- npm or yarn or pnpm
- Install dependencies:
npm install
# or
yarn install
# or
pnpm install
Important: The
prepare
script will automatically set up Husky git hooks during installation. If you're working in a fresh clone and Husky hooks aren't working, runnpm run prepare
manually to install them.
- Start the development server:
npm run dev
# or
yarn dev
- Open http://localhost:3000 in your browser to see the application.
npm run dev
- Start the development servernpm run build
- Build the application for productionnpm run start
- Start the production servernpm run lint
- Run ESLint to check code qualitynpm run prepare
- Set up Husky git hooks (runs automatically after npm install)