Search code examples
node.jsgithubgithub-pages

How to render dynamic pages on GitHub Pages?


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.


Solution

  • 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