Intro to Vuex and the Server
4:01
Connecting to a REST Server
8:20
Loading Server data into Vuex
10:18
Switching to JSON API
5:09
Data Relationships with JSON API and Vuex
19:11
Tags Page
7:15
Our First Reusable Component
6:19
0% done with Vuex: Loading data using axios and deserializing JSON API relationships

Chapter 2 of 27 in Building VueScreencasts.com
Connecting to a REST Server

This tutorial shows how to connect to a REST server. We use the mounted hook and asynchronous API calls in order to take that data and use it in our Vue Component.

VueJS Commit for connecting to REST Server

Code for Rails API

Video MirageJS Mock API

What do others think of VueScreencasts?
"Thank you so much."
—Ayoub Hammoudan
"Thanks for this series! Very helpful and good to follow."
—Raúl Wallaart
"I like your way of teaching. I just started a a web dev YT channel too and this is inspiring."
—Duane Creates
"EXCELLENT video series so far!"
—D Durham
Take your career to the next level