A minimal Next.js (App Router, TypeScript) app — the template Codepet uses when you start a new project. Codepet clones it, builds your feature on a branch, and opens a pull request.
npm install
npm run devOpen http://localhost:3000. Edit app/page.tsx and the page updates.
app/layout.tsx— the root layout and page metadata.app/page.tsx— the home page.app/globals.css— global styles.
| Command | What it does |
|---|---|
npm run dev |
Start the dev server. |
npm run build |
Production build. |
npm run start |
Serve the production build. |
npm run lint |
Lint with eslint-config-next. |