Vue.js: Working with APIs

Vue.js: Working with APIs

This is the repository for the LinkedIn Learning course Vue.js: Working with APIs. The full course is available from LinkedIn Learning.

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

Project setup

npm install

Compiles and hot-reloads for development

npm run serve

Compiles and minifies for production

npm run build

Run your tests

npm run test

Lints and fixes files

npm run lint

Customize configuration

See Configuration Reference.

Instructor

Ray Villalobos

Senior Staff Instructor at LinkedIn Learning

Check out some of my other courses on LinkedIn Learning. You can follow me on LinkedIn, read my blog, follow me on twitter, or check out my youtube channel.

Download Details:

Author: LinkedInLearning

Source Code: https://github.com/LinkedInLearning/vuejs-apis-2818088

#vuejs #vue #javascript

Vue.js: Working with APIs
20.70 GEEK