Init Commit.

This commit is contained in:
2022-07-02 14:00:47 +00:00
commit aa5bb78ff5
16 changed files with 2091 additions and 0 deletions

13
pages/api/hello.ts Executable file
View File

@ -0,0 +1,13 @@
// Next.js API route support: https://nextjs.org/docs/api-routes/introduction
import type { NextApiRequest, NextApiResponse } from 'next'
type Data = {
name: string
}
export default function handler(
req: NextApiRequest,
res: NextApiResponse<Data>
) {
res.status(200).json({ name: 'John Doe' })
}