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?
"Thanks for your videos."
—Rafael Canan
"Great video as always, I really like the idea of basing the video in terms of features, as someone only looking to learn particular feature can get benefits from the video. Also, I really like you going through what we have done in the video at the end, it really helps in better understanding."
—Paurakh Sharma Humagain
"Thanks for this series! Very helpful and good to follow."
—Raúl Wallaart
"Great video && Project Jeffrey!! Thank you a lot :)"
—אלכסיי לוינזון
Take your career to the next level