node.js - Hosting my MEAN stack web app on github pages -


i have project here on github. created gh-pages branch make hosted on github pages. link gave me hosted site here.

i pretty new web apps , new mean stack web apps. question - how can access web app hosted via github? hosted link gives 404 error because don't have index.html file in root of project. "html" have in project in views folder , has "ejs" file extension (index.ejs).

to run app on local machine start npm server:

npm start 

then navigate http://localhost:3000/#/home in browser see app.

is possible host app on github pages? need modify project in way make work? - know have change mongoose database pointer database portion work. pointers in right direction appreciated!

github not host nodejs instances.


Comments

Popular posts from this blog

python - TypeError: start must be a integer -

c# - DevExpress RepositoryItemComboBox BackColor property ignored -

django - Creating multiple model instances in DRF3 -