my-app/
Pick any file or folder on the left to see what it is, why it exists, when you add it and the mistakes people make with it. Switch the stage to watch the project grow.
# Create the app with the recommended defaults, code inside src/
npx create-next-app@latest my-app --yes --src-dir# Start the dev server on localhost:3000
cd my-app && npm run dev# Add the React app layer: data fetching, theme, toasts, forms, state
npm install @tanstack/react-query next-themes sonner react-hook-form @hookform/resolvers zod zustand server-only# Add unit and component tests (Vitest, Testing Library, MSW)
npm install -D vitest @vitejs/plugin-react jsdom vite-tsconfig-paths @testing-library/react @testing-library/dom @testing-library/user-event @testing-library/jest-dom msw# Add end-to-end tests (Playwright)
npm init playwright@latest# Add Storybook when the design system grows
npm create storybook@latest