0% done with Replicating an API with MirageJS
6:08
|
Published on
11/30/2019
|
|
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.
What do others think of VueScreencasts?
"Thank you."
—มะ ม๋า
"Thanks, really liking these videos."
—Mustahsinul Moula
"Another good one, really enjoying the series thus far"
—sdguy 1
"Excellent! Top Vue tutorials I've found."
—Igor Špánik