WarpJS introduces a unique approach to code and deploy back ends on serverless functions (FaaS), super easily.
In a nutshell, the developer writes the back-end logic in Node.js module then the
This way, developers can call scalable server-side functions in the most natural way from the client codebase, without coding any HTTP request or response.
To do this, the
warp command-line carries out three simple operations:
warp deploy and
Out of a module,
warp build generates (1) the FaaS back-end code for each function and (2) an API script wrapping the back-end functions calls. This way, developers can call these functions right from a front end or a Node.js.
warp deploy will deploy (1) the FaaS back-end code for each function on a selected cloud and (2) the API access script on a CDN.
From this moment on, the back end is ready to use. The front end imports the API script via an import or a traditional
<script> tag and directly calls the back-end functions which will run on the chosen FaaS.
In order to set up the back end during the development phase, WarpJS also provides the
warp start-emulator command-line to emulate a FaaS server with integrated live reload and rebuild. This allows developers to run tests and debug iterations faster, prior deployment.
WarpJS Serverless is currently on free private beta. If you would like to test WarpJS, you need to know someone who is in the program to get an invitation link or to request an invitation on WarpJS.com.