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?
"Thank you, it is very interesting."
—Chris LR
"Thank you. Even after having seen many tutorials, I keep learning a lot from you. You teach well!"
—Lars Sørensen
"You're a blessing my dude. Thank you so much for this!"
—elmo
"Amazing!!!!! Need this so much!!!!!!"
—Nathan Yang
Take your career to the next level