youtube-2020-feb-nextjs-part2

Fetch data with nextjs

Continuation of part 1

In order to run the project

Clone and run the project. Steps:

  1. git clone https://github.com/bmvantunes/youtube-2020-feb-nextjs-part2.git
  2. cd youtube-2020-feb-nextjs-part2
  3. npm install
  4. npm run mock-server
  5. open a new terminal/console, go to that same folder where you cloned the repository
  6. npm run dev
  7. open your browser at http://localhost:3000/list
  8. 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"