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?
"Amazing content. Good job, man."
—milose
"Thanks for the tutorial. Subscribed!!!! :)"
—Zenish Shrestha
"I like your way of teaching. I just started a a web dev YT channel too and this is inspiring."
—Duane Creates
"Great video && Project Jeffrey!! Thank you a lot :)"
—אלכסיי לוינזון
Take your career to the next level