The code was deployed on vercel. For some reason, the updates to post were not working as I used file read write to store data. The changes made to file does not persist in the container. So instead of vercel I deployed the app on AWS EC2 install.
AWS hosted url: http://3.222.9.35:3000/
Github repo: https://github.com/abhinavkrin/blog-assigment