Backend devs slowing you down? Create a fake REST API in 3 minutes using json-server

preview_player
Показать описание
In this video we will go through JSON-SERVER in just 3 minutes. It's a super awesome tool to launch a full fake REST API with zero coding on localhost.
This is very helpful for devs to mock or prototype an API, which means that as frontend devs we don't have to wait for the backend developers to finish.
Always make sure to agree on a structure for the API response with your team if you're going that route.

Go through their documentation and check it out for yourself.

Don't think that you can just make a GET call. You can actually make a POST, PUT, PATCH and DELETE request as well, which I think is awesome as that is all you need for a truly REST API. You would ask yourself, is it truly a FAKE API? 🤔

What is REST, by the way?
REST is an architectural style for APIs. With REpresentational State Transfer, you can get a resource through an API call; You can also add, change or delete a resource. Since REST is a design pattern, it is a standard that will make it easier to get started working with an API, because you will be used to it. Usually we use JSON to transfer data to and from an API, but XML is also a valid format.

Like & Subscribe if you liked the video.

🔹 FOLLOW DUANECREATES

Thank you for watching • Have a great day • See you in the next one
Рекомендации по теме
Комментарии
Автор

My Friend You are the best human on hystory on the planet on this univerce and in my life

dimitriskosse
Автор

thank you so much, you realy helped me ❤️

akdhsksn
Автор

I used this server recently, its very useful. :)

Lumary
visit shbcf.ru