Quick Introduction and Live Demo of KOCO: A No-Code Platform for Building Backend APIs

· algiegray's blog

KOCO is a no-code platform for creating backend APIs and other functionalities, similar to the kid-friendly programming language Scratch. This summary is based on a YouTube video that introduces the platform and demonstrates building a simple function.

In the video, the presenter creates a workspace on KOCO's website, kod.com, and names it "live demo." The workspace provides an interface to create functions and blocks, which can then be exposed as APIs. The presenter demonstrates creating a simple function called "string to uppercase," which accepts a string as input and returns it in uppercase as output.

The function is built using KOCO's Logics, where the presenter defines the input parameter as "name" and the output as "text." The logic block is used to transform the input string to uppercase using built-in string operations. Once the function is created, a trigger is added to expose it as an API endpoint.

The trigger interface allows the presenter to define the endpoint, method, and authentication. In this case, the presenter chooses a REST endpoint, names it "trigger," and adds authentication using a service user. After publishing the workspace, the API is deployed and accessible at the provided public inpoint.

The presenter tests the API by sending a request with the input "Sebastian" and receives the uppercase response "SEBASTIAN." The video concludes by mentioning that more complex use cases, including AI and database integration, will be covered in future videos.

Summary for: Youtube