Javascript API Management system

Christoph Kappestein
2 min readNov 10, 2021

This is a short introduction post to Fusio for Javascript developers. Fusio is an open source API management system which supports different programming languages. This post targets Javascript developers and should give you a first great overview.

Installation

The fastest way to get a running Fusio instance is by using our Docker-Image. You can simply clone the repository and run docker-compose up to get a complete running Fusio instance. If you are not familiar with docker you may also checkout our fusio.cloud service.

Development

After successful installation you can login to the Fusio backend at /apps/fusio where you can start to develop actions. To give you a short heads up, please take a look at the following video which shows how to login to the backend, create a first action and bind it to a route.

An action contains basically the business logic of your API and you can invoke an action through a route. In the video we have only create a simple action which returns a static JSON object.

In reality this is mostly not really useful since you need to interact with i.e. a database. The following example shows you how to use the connector to obtain a mysql connection and to fetch data from a table.

The connector allows you to obtain connections which are configured at the backend. Please take a look at the javascript worker repository to see which implementations are used for specific connections. Also please take a look at our worker documentation for more technical details.

So I hope I could give you a first small impression how to use Fusio as Javascript developer. For more information about Fusio please checkout our repository and website.

--

--

Christoph Kappestein

I am a developer in the API space, currently working on Fusio an open source API management platform