We made a repo called rest-api. It will expliain through much advanced features. To go there, click here

The API

API is short of Application Proggraming Interface. It helps to interact to the user.

Brunozhon.gitub.io API

This API helps users to interact with the server. Simple API example:


function funcName(pram(s)) {
  // Some code
}
    

Another example:

var varName = function(pram(s)) {
  // Some code
}
    

Or:

var varName = (pram(s)) => {
  // Some code
}
    

The most common way, a object:

var varName = {};
varName.pramName = function()  or () => {
  // Some code
}
    

Docs