Initial commit from Create Next App

This commit is contained in:
Ivan Li
2021-05-01 17:33:49 +08:00
commit 985ef81b82
11 changed files with 5000 additions and 0 deletions

5
pages/api/hello.js Normal file
View File

@@ -0,0 +1,5 @@
// Next.js API route support: https://nextjs.org/docs/api-routes/introduction
export default (req, res) => {
res.status(200).json({ name: 'John Doe' })
}