O'Reilly logo

The Majesty of Vue.js by Kostas Maniatis, Alex Kyriakidis

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Homework

To get comfortable with making web requests and handling responses you should replicate what we did in this chapter.

What you have to do is to consume an API in order to:

  • Create a table and display existing movies
  • Modify existing movies
  • Store new movies in the database
  • Delete movies from the database

I have prepared the database and the API for you. You only have to write HTML and JavaScript.

Preface

If you have followed the instructions from Download book's code of Chapter 8, Consuming an API – Preface, open your terminal and run:

cd ~/themajestyofvuejs/apis/movies
sh setup.sh 

If you haven't, you should run this:

mkdir ~/themajestyofvuejs
cd ~/themajestyofvuejs
git clone https://github.com/hootlex/the-majesty-of-vuejs .
cd ~/themajestyofvuejs/apis/movies ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required