Skip to content

Is it possible to deploy a Node.js server on GitHub pages? #78878

Answered by Kiran1689
The-Best-Codes asked this question in Pages
Discussion options

You must be logged in to vote

Hi @The-Best-Codes
If your API is serves static content (HTML, CSS, JavaScript), you can deploy it using gh pages. Because GitHub Pages is supports only static sites, and it will not support server-side code.

The best options are Vercel or Heroku..

Replies: 1 comment 7 replies

Comment options

You must be logged in to vote
7 replies
@The-Best-Codes
Comment options

@baumamit
Comment options

@The-Best-Codes
Comment options

@LeushinSG1972
Comment options

@The-Best-Codes
Comment options

Answer selected by The-Best-Codes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Pages Host a static website, right from your repo Question Ask and answer questions about GitHub features and usage
4 participants