For my understand node.js and ejs run in server side no ? you can add that in ipfs and share with some people but their peoples need to install locally node.js and get your project by ipfs and run that locally. if you wish share your app only ipfs and web browser prefer use html / js / css project. You can use angular / vue / or react to render your page more “dinamyc”