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
Intro to Vuex and the Server

We look at what we'll be doing in the course, and go over the three options for the API.

Options for the API

There are several options if you want to follow along.

First, you could use MirageJS as a mock backend. Here's the course where I explain how to use it, and here's the github branch. I'll be linking to specific videos and github commits from the relevant videos in this course. This is probably the easiest way to follow along, but the downside is that data doesn't actually persist... this is a temporary solution to help you learn, not something you'll want to put into production.

Second, you could download the Ruby on Rails app I've created. Here's the app. The relevant github commits will be linked in the video where they're needed. I plan on creating a "how to get a Ruby on Rails app running" video sometime, but for now, only use this option if you're able to install and run a Rails app.

Third, you could create your own API with the backend web framework of your choice. Apparently that's Laravel and Node for most of you. I don't plan on offering courses in those right now, but I may do that eventually if demand is high enough.

Finally, you could just watch without creating the app yourself. You'll probably learn less, but it's an option.

What do others think of VueScreencasts?
"Great channel."
—The Nerdy Dev
"tks u so much"
—013356386
"Your tutorial is quite easy to understand."
—Koga2 Kuzengenki
"Short, precise, step-by-step, beginner-friendly and clear."
—Naty Java
Take your career to the next level