Created
July 3, 2019 20:36
-
-
Save kmaher9/626918db7935d3b6065627dd1001b3ac to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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