How to deploy Node.JS (EJS files) online?

Hi all.

I have some trouble deploying my Node.JS app online, because I don’t have an HTML page, only EJS files.

Where and how can I deploy them?

Well where do you want to deploy it? Do you want to deploy it to heroku? Here is a guide that can help…

Ideally you put your app up on Heroku, which will start your node.js / express file and keep it running. Then you hit it with a request which will be routed into your app and get handled by express routes and views.

1 Like

Thank you very much!

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