setting up landing page and getting going

This commit is contained in:
talksik
2022-03-31 13:08:49 -04:00
parent cd7d78bcb8
commit 70eadc2265
26 changed files with 1177 additions and 13 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' })
}