Running the development server

If your next-app is looking like this ๐Ÿ‘‡๐Ÿ‘‡๐Ÿ‘‡ then you did well so far

To run the development server, open you terminal and run the following command:

npm run dev

This starts your Next.js appโ€™s "development server" (more on this later) on port 3000.

Letโ€™s check to see if itโ€™s working. Open http://localhost:3000 from your browser.

This is the default template coming from pages/index.js

We will look closely at the file structure of next.js in the next section.

3

1