Develop instant API Services with JavaScript/Nodejs

by on April 19, 2017

Backendless 4 is a powerful platform that can instantly turn your JS code into an API service. Every declared method (unless it is excluded) gets a dedicated API endpoint accessible via REST and native libraries, which Backendless automatically generates for you. As a developer, you can easily specify what the REST route must look like for every method and you can define the schema for the arguments.

Generated services can be used for multiple purposes. For example, they make it very easy to centralize the business logic for your Backendless app. IoT apps can use the services as the integration points.

Backendless Console gives you a test drive for invoking the services and inspecting requests and responses. Best of all, the service code can be written and deployed right from the Console. Check out the video below for an overview of Backendless API Services written in JS:

The service code shown in the video is:

class MyService {
   * @route GET /hello
   * @param {string} name
  helloWorld( name ) {
    return "hello " + name;
Backendless.ServerCode.addService( MyService );


Leave a Reply