This is a Next.js project bootstrapped with create-next-app.
First, install the dependencies:
npm installThen, run the development server:
npm run devOr using Yarn:
yarn devOr using pnpm:
pnpm devOr using Bun:
bun devOpen 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.
A typical Next.js project structure looks like this:
project/
├── app/
│ ├── layout.tsx
│ ├── page.tsx
│ └── globals.css
├── public/
├── package.json
├── next.config.ts
├── tsconfig.json
└── README.md
npm run devnpm run buildnpm run startnpm run lintThis project uses next/font to automatically optimize and load Geist, a font family created for Vercel.
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.
- Next.js GitHub Repository — source code, issues, and contributions.
The easiest way to deploy your Next.js app is using the Vercel Platform.
First, build the project locally:
npm run buildThen deploy using Vercel CLI:
npx vercelFor production deployment:
npx vercel --prodCheck out the Next.js deployment documentation for more details.