javascript - Can I host my front end in one hosting service and the backend somewhere else? -


i have website hosted in justhost.com. far html/css/js done scratch. have been learning server side java script (ssjs) using nodejs , add js backend processing site. problem justhost.com not seem support nodejs applications, kind of stuck.

is there way keep front end of site (html, css , front end js) hosted in justhost.com , build backend in nodejs ssjs , keep part hosted in service or server , somehow make work together?

right not not commercial application, can play around , break things, open suggestion.

thanks in advance.

the complete answer "probably, it's complicated" due restrictions built web cross-origin isolation hosting provider restrictions. however, since asking this, suggestion host entire application (server side code, html, css, browser js, images, etc) on node.js hosting service since support , it's trivial do. no reason complicate architecture stick static web host. takes handful of lines of "code" in node app have functional static web site served along custom server-side logic application may need. (consider static middleware bundled express.js application server, example).


Comments

Popular posts from this blog

java - JavaFX 2 slider labelFormatter not being used -

Detect support for Shoutcast ICY MP3 without navigator.userAgent in Firefox? -

web - SVG not rendering properly in Firefox -