Using MirageJS to mock a backend API in Vue

preview_player
Показать описание
In this video, we’re going to walk through the first 15 videos in this series (the ones before we switched over to Nuxt) and create the mock API that we need at each step.

Our primary goal is to make it easier to follow along with my videos even if you don’t want to build your own backend. But if you just want to learn Mirage and don’t care about the project, then this will still work for you — you don’t need to know all the stuff we’re doing in the Vue app in order to learn the Mirage API from this.

0:00 Start
2:45 Why Mirage?
7:18 Our First Mirage Endpoint
13:28 JSONAPI: Models, Serializers, and Shorthands
15:48 JSONAPI Relationships
18:09 Put, Post, and Delete
20:29 Authentication
24:27 Finishing Up
29:51 Conclusion

*** Github Links ***

*** Find me online ***

Website coming soon

#VueJS #MirageJS #MockAPI #Vue #Mirage #MockServer
Рекомендации по теме
Комментарии
Автор

tnx for mirage now i use in every project

paralaxa
Автор

is it possible to mock readable stream with Mirage instead of plain JSON response?

alona-cibr
Автор

Thank you for the tutorial, awesome as usual.
I have a question regarding the environment. Should we do some additional step to disable mirage server when deploying the application to production, having a real API back-end? Or somehow is automatically disabled generating the files for production?

jesuscuria
Автор

So awesome⏫⏫, i am from indonesia,
how to include miragejs to nuxt project?

jmihzamahendra
Автор

am very beginner and i don`t know how to get my baseURL for my Mirage Server, can anybody help me !

AhmedReda-xjcq
Автор

can you do a tutorial on how to send emails with nuxt ?

tajeddinealaoui
Автор

Thank you, when the next video will come ? we are waiting .

Bawaromerali
welcome to shbcf.ru