Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Stub out a JSON API response using Synth
exports.getIndex = function (req, res) {
return [
{
title: "Duck Game",
developer: "Landon Podbielski",
tile_image: "https://www.ouya.tv/gamehub/listimgs/6d547a77-1a81-403c-8065-0cea25c5d81c.jpg"
},
{
title: "TowerFall",
developer: "Matt Makes Gamers Inc.",
tile_image: "https://www.ouya.tv/gamehub/listimgs/8c2d5286-0cdb-4df9-8a42-9baa56aef3e1.jpg"
}
];
};
// More at http://www.synthjs.com
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment