Training | Functional Ktor RESTful APIs using Arrow

Learn how to get the most out of Ktor by combining it with Arrow to create pure safe functional Backend applications.

kotlin

Overview

Kotlin is becoming a widely adopted language for Backend development where frameworks like Ktor or Spring offer first class support for it. In this 2 day course we will learn how to make use of the Functional Programming paradigm to write a fully-fledged RESTful API using the power of Arrow.

Prerequisites

  • Previous experience writing RESTful APIs.
  • Previous experience with Ktor / Spring / Play or any other frameworks of the like used to write REST services.

What you'll learn

  • Project setup.
  • Functional JSON serialization - deserialization using Helios.
  • Writing controllers.
  • Adding routes.
  • Writing endpoints for all the HTTP verbs (GET/POST/PUT/PATCH/DELETE).
  • Modelling our endpoints as pure suspended computations.
  • Adding and consuming query parameters.
  • Adding and consuming headers.
  • Adding functional authentication mechanisms.
  • Data validation and error handling.
  • Mapping errors to proper HTTP status codes.
  • Use railway oriented programming to model code branching for our endpoint logics.
  • Integrating third party libraries in a pure & safe way.
  • Adding a Redis cache.
  • Adding persistence by MongoDB.
  • Adding metrics.
  • Redirection and forwarding.
  • Handling multipart requests to upload files.
  • Testing our endpoints. Mocking and stubbing.
  • Adding encryption.
  • Versioning endpoints.
  • Encoding endpoints as functional streams.
  • Writing a simple functional client for our API using Ktor.

Company and Private Group Training

Related courses upcoming in the Academy

Functional Programming Fundamentals in Kotlin with Arrow

Functional Programming Fundamentals in Kotlin with Arrow

Learn Functional Programming in Kotlin in this intensive online course brought to you by 47 Degrees Academy and led by Jorge Castillo.

  • Duration 2 Days
  • Complexity Beginner
  • Date July 21
Functional Programming Fundamentals in Kotlin with Arrow

Functional Programming Fundamentals in Kotlin with Arrow

Learn Functional Programming in Kotlin in this intensive online course brought to you by 47 Degrees Academy and led by Jorge Castillo.

  • Duration 4 Days
  • Complexity Beginner
  • Date August 10
Functional Android Development

Functional Android Development

Learn Functional Programming in Kotlin in this intensive online course brought to you by 47 Degrees Academy and led by Jorge Castillo.

  • Duration 2 Days
  • Complexity Beginner
  • Date September 29
Functional Programming Fundamentals in Kotlin with Arrow

Functional Programming Fundamentals in Kotlin with Arrow

Learn Functional Programming in Kotlin in this intensive online course brought to you by 47 Degrees Academy and led by Jorge Castillo.

  • Duration 4 Days
  • Complexity Beginner
  • Date December 10
Functional Programming Fundamentals in Kotlin with Arrow

Functional Programming Fundamentals in Kotlin with Arrow

Learn Functional Programming in Kotlin in this intensive online course brought to you by 47 Degrees Academy and led by Jorge Castillo.

  • Duration 4 Days
  • Complexity Beginner
  • Date January 19
Functional Programming Fundamentals in Kotlin with Arrow

Functional Programming Fundamentals in Kotlin with Arrow

Learn Functional Programming in Kotlin in this intensive online course brought to you by 47 Degrees Academy and led by Jorge Castillo.

  • Duration 4 Days
  • Complexity Beginner
  • Date May 24
Functional Programming Fundamentals in Kotlin with Arrow

Functional Programming Fundamentals in Kotlin with Arrow

Learn Functional Programming in Kotlin in this intensive online course brought to you by 47 Degrees Academy and led by Jorge Castillo.

  • Duration 4 Days
  • Complexity Beginner
  • Date July 27
Functional Programming Fundamentals in Kotlin with Arrow

Functional Programming Fundamentals in Kotlin with Arrow

Learn Functional Programming in Kotlin in this intensive online course brought to you by 47 Degrees Academy and led by Jorge Castillo.

  • Duration 4 Days
  • Complexity Beginner
  • Date September 20

Company and Private Group Training

Skills

This Functional Ktor RESTful APIs using Arrow includes:

  • Maximum Class Size of 15
  • Access to Academy EduTools Platform
  • Access to Course Materials
  • Certificate of Completion
  • Access to a Private Channel with Trainers in the Academy Slack
  • A Q&A session one week post-course
  • A pre-and-post meeting with our trainers