Initial commit

This commit is contained in:
Nick Bland
2022-04-10 20:15:15 +10:00
commit 25c1638ed2
18 changed files with 6469 additions and 0 deletions
+13
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' })
}