Static Mockup Data for your Endpoints with Connect
While working on a frontend project you’ll easily come to a point where you need data from a webserver that will be retrieved through an Ajax call. Serving mockup data from those endpoints is a tricky thing when you don’t run your frontend project on a webserver.
Luckily there is a way to easily write middleware using Connect for NodeJS. Other great thing: works with task-runners!