Skip to content

Instantly share code, notes, and snippets.

@amandeepmittal
Created October 4, 2018 12:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save amandeepmittal/354764ce887ed630fbee708192bb2ba0 to your computer and use it in GitHub Desktop.
Save amandeepmittal/354764ce887ed630fbee708192bb2ba0 to your computer and use it in GitHub Desktop.
// books.js
router.get('/', (ctx, next) => {
ctx.body = books;
next();
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment