rubynor / bigfive-web

Website for taking personality tests
https://bigfive-test.com
MIT License
421 stars 158 forks source link

api/save error 404 when saving result #97

Closed Aksouda closed 5 months ago

Aksouda commented 2 years ago

I have forked the repo and deployed the app locally and on a server neither seem to show results eventhough I created an instance in Atlas and connected to the db as instructed but I doesn't seem to be connecting to the db I guess or is it somthing else that I need to add?

pmejorado commented 2 years ago

Same error here.... do you already set the dotenv for mongodb???

Aksouda commented 2 years ago

the problem is not the env variables it's that /api directory serverless functions is only handled by vercel so I had to deploy it on Vercel no other choice for me, i wanted to deploy it on my VPS but no matter what it didn't work even tried using Express js to hanlde /api but no luck /save is returning an error 500