Skip to content

Instantly share code, notes, and snippets.

@lrohde
Created August 13, 2019 19:57
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 lrohde/82fc2f7ac5b1e194e8be763a822adb46 to your computer and use it in GitHub Desktop.
Save lrohde/82fc2f7ac5b1e194e8be763a822adb46 to your computer and use it in GitHub Desktop.
import { Router } from 'express';
const routes = new Router();
routes.get('/', (req, res) => {
return res.json({ message: 'Hello World' });
});
export default routes;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment