First, run the development server:
npm install
npm run "dev and server"
yarn install
yarn run "dev and server"
The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.
Check out our Next.js deployment documentation for more details.