Skip to content

Instantly share code, notes, and snippets.

@kmaher9
Created July 3, 2019 20:36
Show Gist options
  • Save kmaher9/626918db7935d3b6065627dd1001b3ac to your computer and use it in GitHub Desktop.
Save kmaher9/626918db7935d3b6065627dd1001b3ac to your computer and use it in GitHub Desktop.
const router = require('express').Router()
router.get('/', (request, response, next) => {
return response.status(200).json({
"data": {
"message": "API loaded"
}
})
})
module.exports = router
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment