Vue.js 2: Working with APIs
1h 56mIntermediate2019-10-18
Authors

Ray Villalobos
Senior Staff Instructor at LinkedIn Learning
Course details
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.
Learning objectives
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
Learning objectives
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
Skills covered
Vue.jsJavaScript FrameworksWeb DevelopmentOpen SourceDeep Dive (X:Y)
Concepts
0. Introduction
- 01 - Using APIs with Vue.js
- 02 - Using the exercises for this course
1. Preparing Apps for APIs
- 03 - Installation with Vue CLI
- 04 - Adding additional modules
- 05 - Theming our installation
2. Working with Local State
- 06 - Working with state
- 07 - Using state in sub-components
- 08 - Looping through your state
- 09 - Using the HTML Audio API
3. Working with APIs
- 10 - Lifecycles and the Fetch API
- 11 - Connecting with Axios
- 12 - Working with external APIs
4. Other Options
- 13 - State management with Vuex
- 14 - Creating Vuex actions
- 15 - Installing Firebase
- 16 - Displaying Firebase data
- 17 - Modifying data in a multi-user environment
Conclusion
- 18 - Next steps