npm install— install dependenciesnpm run dev— start dev servernpm run build— build for productionnpm run start— start production server
- React + Next.js
- Example API Route:
/api/hello - Example Page:
/
npm install
npm run devVisit http://localhost:3000