NextJS14 + Strapi4(postgres) application. How to deploy the Strapi backend and postgres on vercel?

I have created the the frontend and backend strapi with postgres and its working in my machine locally.
I have deployed frontend and its working,
I have deployed backend and it is not working! not even showing the login page its giving 404 error. I have created vercel.json and I have put all the env variables that i had.
I don’t have any idea now how to work this out. This is my first time deplying a project and its pure madness!

This topic has been created from a Discord post (1284472933053370388) to give it more visibility.
It will be on Read-Only mode here.
Join the conversation on Discord

just dont, vercel is garbage

You can use any VPS really, or pay the extra buck and go for Strapi Cloud

now I’ve configured it and decided to remove from my project entirely, and used vercel’s postgres backend. and its working hopefully and the main problem left is how to add data in that beauty. its juat a CLI to query data. I’ve configured pgadmin with it and its certainly not a simplifyed UI either.

Thanks for replying :pray: I genuinely thought that no one’s gonna answer me!

are there any free VPS?

sorry for disappointment but, I don’t have this much money to pay for just a hobby project nor my currency is strong either!
I’m a school student building some project just for fun and to get in conversations by stating my online presence.

Thanks for your help! and even taking time to reply to my question!

Free VPS’ are not really a thing.
But for a couple dollars per month you should be able to host a Strapi instance

thanks for the clarification!

now the project is finally complete