service-mocker
2 minute read Published:
Service workers to the rescue!
While prototyping a frontend application I came across an amazing project that I wanted to share.
It’s called service-mocker and what it does is - by applying some neat request hooking magic, allows you to write a backend prototype of your server in a ExpressJS-like syntax, right inside your frontend application.
What is even neater - they are employing service workers (obviously working only on modern browsers) which allows you to see the requests to your fake/mock backend inside the Network request panel!