commit | 016ea02180b42b88ed031382e484cde4a7e9d3a3 | [log] [tgz] |
---|---|---|
author | Samuel Shuert <samuel@clicksminuteper.net> | Wed Sep 01 16:17:24 2021 -0500 |
committer | Samuel Shuert <samuel@clicksminuteper.net> | Wed Sep 01 16:17:24 2021 -0500 |
tree | 69e1432d325b7a004957fd949e5c116f34284082 |
init commit
diff --git a/pages/api/hello.js b/pages/api/hello.js new file mode 100644 index 0000000..df63de8 --- /dev/null +++ b/pages/api/hello.js
@@ -0,0 +1,5 @@ +// Next.js API route support: https://nextjs.org/docs/api-routes/introduction + +export default function handler(req, res) { + res.status(200).json({ name: 'John Doe' }) +}