Fetch data with nextjs
Continuation of part 1
Clone and run the project. Steps:
- git clone https://github.com/bmvantunes/youtube-2020-feb-nextjs-part2.git
- cd youtube-2020-feb-nextjs-part2
- npm install
- npm run mock-server
- open a new terminal/console, go to that same folder where you cloned the repository
- npm run dev
- open your browser at http://localhost:3000/list
- click in one of the items in that list, for example, the first one, your browser will navigate to "http://localhost:3000/Car/Bruno%20Antunes"