Server CLI
Welcome to the home page for the Server CLI documentation.
Overview
The Server CLI offers developers a powerful and flexible environment to lodge server side code into BlinkMobile's Server API Hosting service.
The nature of this service means development and testing can be done on the developer's local machine, and then deployed through the Server CLI when ready.
This service can also be coupled with BlinkMobile's Hosted GitLab offering easy versioning and development sharing between multiple developers, or the developer may wish to use their existing versioning system.
The Server API Hosting service can be used to host and allow the execution of server side code that you may wish to call from your front end web-app using our Client Web App Hosting service, or call from your Hybrid App.
Environment
The server CLI is built using serverless technology, which is a new approach designed to allow high availability and high scalability for when you need it. Once your server side code is deployed to our Server API Hosting service, it will be accessible via http requests.
Consider the Server API Hosting as exactly that - a place to lodge server side API code which will be called from your web app or hybrid app.
Development languages currently supported
- Node.JS – v6.10.x
Keep In Mind
As the Server API Hosting service is built on serverless technology, this means you don't have the concept of holding server side session data between multiple requests. Each request essentially launches in its own environment, and then will be destroyed after the request is complete.
Commonly most modern web apps and hybrid apps follow this same concept, and it's one you probably already use with the previous BlinkMobile CMS based platform, where you're able to call a server-side interaction from client side Javascript.
For holding things such as authentication tokens, we recommend you hold them within the client side app, and simply pass the token to the server-side code when making server API requests.