/fnproject-tutorials

Fn tutorials ranging from getting started to more advanced topics.

Primary LanguageJava

Tutorials

Each of the tutorials below provides a step by step examination and walkthrough of a specific Fn feature or component. Check back soon as new tutorials are being added regularly.

Introduction to Fn

Install Fn and deploy your first functions.

Applications

Learn how to group your functions into an application/API and deploy them together.

Testing Functions

Fn has an easy way to write tests for any language, that can ensure you don't break your function contract.

Learn how to write function tests

Asynchronous Functions

Learn how to write asynchronous functions for expensive, long running or batch processing.

Containers as Functions

This tutorial provides a simple example of how to define an Fn function using a custom built Docker containeer.

Developing Java Functions

Use the Java FDK to write functions and unit test them with the JUnit test harness.

Introducing Flow

Get started with Flow with Flow 101 & Flow 102

Fn Flow Saga Pattern

Fn Flow provides a way to orchestrate functions to build sophisticated applications--initially using Java and soon with other programming languages. In this tutorial you will learn how to use Fn Flow to implement a Java travel booking system that leverages functions written in a variety of languages.

Prometheus and Grafana

In this tutorial, see how to use Grafana to visualize Prometheus format metrics that are produced by the Fn server.