Vue.js: Working with APIs

Vue.js: Working with APIs

English | MP4 | AVC 1280×720 | AAC 48KHz 2ch | 1h 56m | 308 MB

Modern apps are shifting to a model where APIs provide the data and interactivity. Front-end developers decide how to present the information and interactions, and the APIs power the rest. Vue.js was built with these challenges in mind; it’s a view-only framework specifically designed to integrate elegantly with other libraries. Join instructor Ray Villalobos in this hands-on course, where he introduces a quick project that will help you understand how to access and use different APIs using Vue.js. Learn how to build a simple music player using the HTML audio element and libraries like Bootstrap and Font Awesome—which both come with their own APIs. He then shows how to work with local and remote data with the Fetch, Axios, and Vuex APIs, and integrate Google Firebase for real-time multi-user features.

Topics include:

  • Preparing apps for APIs
  • Adding additional modules
  • Using state in subcomponents
  • Looping through state
  • Lifecycles and the Fetch API
  • Working with external APIs
  • Managing state with Vuex
  • Creating Vuex actions
  • Displaying and modifying Firebase data
Table of Contents

1 Using APIs with Vue.js
2 Using the exercises for this course
3 Installation with Vue CLI
4 Adding additional modules
5 Theming our installation
6 Working with state
7 Using state in sub-components
8 Looping through your state
9 Using the HTML Audio API
10 Lifecycles and the Fetch API
11 Connecting with Axios
12 Working with external APIs
13 State management with Vuex
14 Creating Vuex actions
15 Installing Firebase
16 Displaying Firebase data
17 Modifying data in a multi-user environment
18 Next steps