message: Added simple node proxy to go api endpoint
diff: import type { NextApiRequest, NextApiResponse } from 'next'
  -export type ContactResponse = {
  - input: unknown
  - success: boolean
  -}
  -export default async (req: NextApiRequest, res: NextApiResponse<ContactResponse>) => {
  - res.status(200).json({
  - success: true,
  - input: req?.body,
  +const apiUrl = 'http://api.podkrepi.localhost:5000'
  +
  +export default async function contactsProxy(req: NextApiRequest, res: NextApiResponse) {
  + try {
  + const response = await fetch(`${apiUrl}/api/v1/contact`, {
  + method: 'POST',
  + headers: { 'Content-Type': 'application/json' },
  + body: JSON.stringify(req?.body),
  })
  +
  + const json = await response.json()
  + console.log(json)
  + res.status(response.status).json(json)
  + } catch (error) {
  + console.error('error:' + error)
  + res.status(500).json({ error: 'Internal Server Error' })
  + }
  }
  