Initial commit from Create Next App

This commit is contained in:
Yath Seanghay
2021-01-07 14:03:48 +07:00
commit 63dec86838
11 changed files with 5662 additions and 0 deletions
+6
View File
@@ -0,0 +1,6 @@
// Next.js API route support: https://nextjs.org/docs/api-routes/introduction
export default (req, res) => {
res.statusCode = 200
res.json({ name: 'John Doe' })
}