Deployed app getting 405 on vercel

I’ve deployed my application on Vercel locally it’s working well but after getting deployed to Vercel I am getting a 405 error I’m also using dbAuth and unsure how to fix it. I’m attaching a below link to my repo