In this section, we will create the FAQ page, which will get data from the server. It will display a loading animation and then the list of questions and answers.
FAQ - Consuming an API
Server setup
This is our first app that will communicate with a server. You will get a server with a ready-to-use API.
You can download the server files (https://github.com/Akryum/packt-vue-project-guide/tree/master/chapter5-download). Extract them into another folder than our app and run the following commands to install the dependencies and launch the server:
cd server_folder
npm install
npm start
You should now have the server running on port 3000. When this is done, we can continue building our app with a real backend this time!
...