Intro to MirageJS
2:44
Why Mirage?
4:31
Our First Mirage Endpoint
6:08
JSONAPI: Models, Serializers, and Shorthands
2:17
JSONAPI Relationships in Mirage
2:19
Post, Put, and Delete in MirageJS
2:17
Authentication in MirageJS
4:16
Finishing up MirageJS in our vanilla Vue app
5:02
0% done with Replicating an API with MirageJS

Our First Mirage Endpoint

Let's create our first MirageJS endpoint: /api/videos

We start with feeding the endpoint our data directly.

Then we refactor so the data is in the JSON file, which we load into a database so it can easily be reused between endpoints.

This is the Mirage code required for this video.

Github: Installing Mirage

Github: Video JSON

Github: Loading videos from DB

What do others think of VueScreencasts?
"Here I found answers to questions that I couldn't formulate before."
—Almas Kamitov
"Great video as always!"
—אלכסיי לוינזון
"great video as ALWAYS :) thanks and keep going with that great project!"
—אלכסיי לוינזון
"You saved my day! Thanks!"
—Ivomar Santos
Take your career to the next level