DEV Community

Cover image for Building an API? Consider Low-Code
Linx Software
Linx Software

Posted on • Originally published at linx.software on

Building an API? Consider Low-Code

APIs have been around for decades – they allow different systems to talk to each other in a seamless, fast fashion – yet it’s been during the past decade that this technology has become a significant force.

So then why all the interest in APIs? We all know the usual stories – Uber, Airbnb, Apple Pay… the list goes on, and the reasons are plentiful. Today the question is, how? Perhaps you are looking to differentiate your business or want a first-mover advantage. How can you execute quickly and at low cost/risk to try new market offerings?

An API provides several benefits to an organisation, but without a dedicated team of trained developers, it might seem like an implausible option. Developers are expensive, and it can take months to develop an API from the ground up. If you don’t fancy outsourcing or have the capability in house to build internal APIs, a low-code platform might just be the answer.

Before You Begin: Plan long-term, start small.

For a small one-page application, this might only be a day or two of talking with stakeholders and designing business logic. The purpose of this first step is to ensure that the API will cover all use cases and provides stakeholders with what they need. Refactoring an entire coding design due to missing business logic is not only frustrating for the development team but adds high cost and time to the API project.

During the planning and design stage, remember that running an API requires more infrastructure than just resources to execute endpoint logic. You need a database to store the data, an email system to send messages, storage for files, and security to handle authorisation and authentication. These services can be farmed out to cloud providers to expedite the API build process (e.g. AWS provides all these infrastructure components, but Microsoft Azure is an optional cloud provider with SendGrid as the email application.)

Planning considerations: An API “speaks” in JSON or XML, so the output provided to client applications should be decided. Should you choose to later create endpoints for public developer consumption, you could offer both for ease-of-use and fostering more adoption. Ensuring the API follows OpenAPI standards will encourage more adoption and attract more developers.

Other sections of your design should include:

  • Endpoint locations and names.
  • Methods (e.g. POST, PUT, GET, DELETE)
  • Database fields that will work with API methods and store data.
  • Who will be able to access the API? Will it be public or only for internal authenticated users? Authentication and authorisation are critical for API security.
  • Where will services be hosted – locally or in the cloud?

Building the API: Consider the options. ** **

Building APIs with the right logic and functionality entirely in tune with the design can be challenging – you need to figure out how to get around limitations, configuring frameworks and web server infrastructure. If you have the back-end developer skills and time is not a significant factor, then pick the programming framework that your development team is familiar with. The most popular examples are;

Building a fully functional REST API from the ground up is a large project for any developer, and even more challenging for IT professionals unfamiliar with the nuances of how APIs are coded, deployed, and maintained.

With no expert coders on staff (backend or full-stack developers), a low-code platform such as Linx provides a platform for the rapid development of an API. There is no need for the extensive knowledge required to code from hand as their visual design framework and lack of boilerplate makes these tools much quicker to understand and use.

The Linx Designer shows you a 100s of pre-wrapped development functions. Linx reduces 100s of lines of code to a single visual function with properties that guide the developer to success. By merely adjusting these properties, developers can quickly implement sophisticated technologies and integrate with a wide range of APIs and services. The objects created in the Linx Designer must be defined, so an understanding of basic data type structures and data objects is necessary. Still, the backend process to consume input and store data is entirely generated by Linx.

Additionally, with Linx, your API can work with several plugins, including cloud-driven tools. For instance, an API could generate a PDF file from specified endpoint input. The PDF plugin would give the API the ability to generate the PDF file, and the GoogleDrive plugin saves it to a Google Drive storage location. The result is a customised API designed to your specific business use case. For standard APIs, using Linx could reduce development time by weeks.

For an IT generalist somewhat familiar with coding and knowledge of data types, cloud tools, and authentication, the alternative option of drag-drop-configure becomes rather appealing opposed to the sourcing, hiring and managing of a development team.

Hosting the API: Easy to start.

After the API is built, it must be deployed to an environment that hosts endpoints and takes requests from a client application. With traditional API deployment, you would be responsible for the hosting environment, which inevitably comes with its own concerns – you must maintain the infrastructure even if it’s hosted on AWS or Azure. Any infrastructure must also be deployed at the same time, such as database objects, files, storage configurations, and plugins.

Linx offers an application server where you can deploy, host and manage the applications created on the platform. This feature makes it easier to host the API instead of configuring it to work with your internal environment. Maintaining an API internally can be a lot of overhead for an already overworked IT staff, so taking advantage of Linx’s hosting environment also saves the inevitable time-cost-capability scenario.

Conclusion

APIs have the potential to transform businesses. Forward-thinking companies are reducing costs and time spent by building their solutions with best-of-breed components to develop an API customized to your business logic – in rapid time. While you still may need developers for specific additions and client application development, the majority of your coding overhead can be offloaded to save time, costs and independence.

The post Building an API? Consider Low-Code appeared first on Linx.

Top comments (0)