TECH;Initial commit

This commit is contained in:
Roman Jaroš 2022-06-28 19:50:51 +02:00
commit c254cd6273
16 changed files with 5509 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' })
}