I just wanted to make a chatbot REST API on GitHub Pages, but I can't get it to render a dynamic page made with Express and Node.js. I just want to know if we can somehow render dynamic pages on GitHub Pages.
Asked
Active
Viewed 4,537 times
1
-
4You can't, GHP only serves static content. – jonrsharpe Jan 27 '22 at 08:28
-
1So can I do that on firebase hosting? – N3RDIUM Jan 27 '22 at 08:28
-
Does this answer your question? [How to publish a website made by Node.js to Github Pages?](https://stackoverflow.com/questions/15718649/how-to-publish-a-website-made-by-node-js-to-github-pages) – Fiodorov Andrei Jan 27 '22 at 08:35
1 Answers
3
Github pages is only used to serve static content and does not support any server-side scripting. Firebase hosting is also for static content hosting and also does not support server-side scripting. You should use firebase cloud functions for any of your back-end services/scripting.
Some resources to host server-side services : https://free-for.dev/#/?id=paas

Critical Carpet
- 126
- 5