There is a video on youtube from June of 2015 (hosting scripts with node.js in backendless)
The video describes a folder /web/scripts with hello.js and a folder
/web/scripts/examples
These are no longer present.-- Is node still supported?
Basically what I want to do is take my static html pages and do registration/login
I know you can use the templates and the codeless blocks to do that but the static pages I have look exacty like what I want them to look like. I don’t know the screen designer well enough to reproduce the look using the drag and drop designer.
So it comes down to three questions
Can i call a script from my static page /web/signup.html?
Can I call nocode blocks from my static page instead?
If I put my api keys in the script, are they secure or is there some kind of an env variable I need to set up. i.e. are the scripts and/or html pages I post to from my static page not servable and protected so that my keys are not compromised?
.
Thanks in advance
Can I call nocode blocks from my static page instead?
Yes, you can. Custom API Services can be written using Java, NodeJS, or Codeless (which is also based in JS under hood).
If I put my api keys in the script, are they secure or is there some kind of an env variable I need to set up. i.e. are the scripts and/or html pages I post to from my static page not servable and protected so that my keys are not compromised?
The app id and API key(s) are not meant to be secure. They are used by the back to identify your app and the type of client which makes the request. What makes your backend secure is the security policy you put in place on the server-side. That includes how you establish permissions for different roles/operations, whether you disable access to the non-authenticated users, etc.
The only key you should not expose is the Coderunner (aka Business Logic) API Key. But you can invoke custom services using any other API key. The only reason why you should not expose the Coderunner API Key is that it can be used to deploy custom logic into your app.
You can find more information on how security works in Backendless in this article:
If you have any questions, do not hesitate to ask me here, I will be glad to answer you.