Because this book is about Vue.js and not about designing APIs, we will provide you a demo API built with Laravel (https://laravel.com/). Laravel is one of the most powerful PHP frameworks along with Symfony2, Nette, CodeIgniter, and Yii2. You are free to create your API using any language or framework you like. I use Laravel because it is simple, it has a great community, and it is awesome!)
Therefore, we strongly recommend you to use the demo API that we have built exclusively for the examples of this book.
To use our API you have to download the book's code and start a server. To do so, use the following instructions:
Open your terminal and create a directory (we will create
'~/themajestyofvuejs'
):$ mkdir ~/themajestyofvuejs
Download the source code from GitHub:
$ cd ~/themajestyofvuejs $ git clone https://github.com/hootlex/the-majesty-of-vuejs .
Alternatively, you can visit the repository on
GitHub
(https://github.com/hootlex/the-majesty-of...