A Node.js project using http and handlebars

As a sorry for the community members, I will write an announce.

  • I’m a Japanese, so my English may be not as good as you.
  • My English may be poor.
  • I will write passages good as I could.

Thank you.

Introduction

I made an project with node.js.
It requires http and handlebars.
I want it to deploy for Vercel.
It displayed the source code.
The project has Dockerfile and docker-compose.yml.

What happend

I has been making a project called “nodeTube” with using node.js.
I had deployed it on Render, and it runs perfectlly.(I used Docker runtime.)
Here is the site:
https://nodetube.onrender.com/
And here is the repositely:

As the same I will do, I deployed for Vercel with no configured.
I read Vercel documentation, but It was written in Express or Vercel’s unique method.
I made it with using http and handlebars, so I thought it may not be deployed.

Questions

I have two questions:

  1. Could I use this code with no rewrite?
  2. If this code can’t use, how to rewrite or what method should I use?

Thank you for watching this question.

If you’re having trouble deploying an Express app, this guide can help.

You can also ask v0 for suggestions tailored to your own project setup.

Hi @komail258301-gmailco, welcome to the Vercel Community!

Thanks for writing a detailed context about your project. I was able to clone your repo and deploy it on Vercel: https://node-tube.vercel.app/ with minimal changes.

I’ve created a PR to your project explaining the changes we did: Deploy to Vercel by Anshuman71 · Pull Request #3 · JF6DEU/nodeTube · GitHub.

I hope this was helpful.

Thank you very much for improved my codes.
It works completely.

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.