Is it possible to deploy a Node.js server on GitHub pages? #78878
-
Select Topic AreaQuestion BodyHello, everyone! Today I really wanted to deploy an API with Vercel, but I can't because I don't give out my phone number, even for verification purposes. I looked all over the place, but couldn't really tell if it is possible to deploy a functional Node.js API with GitHub. I have a GitHub site set up at: Thanks in advance! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
Hi @The-Best-Codes The best options are Vercel or Heroku.. |
Beta Was this translation helpful? Give feedback.
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..