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?
"Great vídeo and an interesting approach"
—joão Petinga
"Excellent series! Will definitively follow!"
—Lars Sørensen
"Excellent video. Thanks so much. Looking forward to the rest of the series."
—SilenceKillsDesign
"Great video as always!"
—אלכסיי לוינזון
Take your career to the next level