feat: initial commit from Create Next App
This commit is contained in:
parent
96167de713
commit
584fe6d245
18 changed files with 2486 additions and 7 deletions
pages/api
5
pages/api/hello.js
Normal file
5
pages/api/hello.js
Normal file
|
@ -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' })
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue