Why am I encountering a 404 error when setting up a Node.js server on Vercel? [closed]

I’m currently working on setting up a chatroom for a project. I came across some excellent code for the chatroom setup and tried importing it to Vercel. Initially, I uploaded it without any adjustments. Later, I added a vercel.json file to ensure proper configuration. However, I’m now facing a 404 error.

I attempted to resolve the 404 error by modifying the project name in the vercel.json file, but unfortunately, the issue persisted.

Here’s the expected configuration:
Ideal

However, the actual output remains the same:
Output

You can find the repository here

Thank you for taking the time to review and assist. Your help is greatly appreciated.