Got my first firebase hosting up and running! Yay!
Set up a node project hoping it will work… tell me if it is not going to.
Set to use routes and then when creating routes I get this error:
Please help!
Got my first firebase hosting up and running! Yay!
Set up a node project hoping it will work… tell me if it is not going to.
Set to use routes and then when creating routes I get this error:
Please help!
Firebase hosting is unfortunately only for static sites.
You can have node as backend available somewhere else though.
We might consider integrating with “firebase Functions” which are essentially also node modules, but it might be more $$$ for you as those aren’t cheap.
App connect and all javascript functions, API calls and API form posts will work on firebase hosting, though @George?
They're all client-side so it's irrelevant where the hosting is.
Yes indeed all client side stuff is considered static so you can have great interactive stuff with app connect
Just the server side - server connect, is unavailable in firebase hosting but you can call other api functions or sites
One thing I have seen now with some research is that it is difficult to use API’s securely when your keys are available on the front end. Google makes this better by limiting the domain that can access the api with a specific key, but not every API has this type of security to protect your keys.
I guess using these API’s with a back-end is the better option.
One thing I have seen is that with node server modal the routes file is not created automatically in current beta version, but as soon as I created the path and file, routes were written to the json file.
Yes we will be adding support for firebase routes as well