Project structure update

This commit is contained in:
Darren Clarke 2023-02-09 21:51:12 +00:00
parent 86c616de0a
commit e556cdceba
70 changed files with 4127 additions and 56 deletions

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' })
}