Pure Functional HTTP APIs in Scala

Explore creating robust HTTP services in Scala's functional programming paradigm. Gain insights into pure vs. impure implementations, their pros and cons, and effective tool usage.

Beginner

53 Lessons

26h

Certificate of Completion

Explore creating robust HTTP services in Scala's functional programming paradigm. Gain insights into pure vs. impure implementations, their pros and cons, and effective tool usage.

AI-POWERED

Explanations

AI-POWERED

Explanations

This course includes

10 Playgrounds

This course includes

10 Playgrounds

Course Overview

Scala is one of the most popular general-purpose languages that supports both object-oriented and functional programming. In this course, you will learn how to create back-end HTTP services using Scala's functional programming paradigm. You will also learn how to develop, test, and document the service using both pure and impure ways. You will be exposed to the differences between pure and impure implementation, their respective pros and cons, and how pure implementation can be more robust in terms of perf...Show More

What You'll Learn

Develop, test, and document the back-end HTTP services using functional programming paradigm.

Learn the pros and cons of Pure and Impure functional programming techniques.

By the end, you will have a firm hold of functional programming in Scala.

What You'll Learn

Develop, test, and document the back-end HTTP services using functional programming paradigm.

Show more

Course Content

1.

Introduction

Get familiar with building and managing functional, pure, and impure Scala backend services.
2.

Impure Implementation

Discover the logic behind building Scala-based HTTP APIs with Akka-HTTP, Slick, and PostgreSQL.
3.

Pure Implementation

Work your way through building pure functional HTTP APIs in Scala using libraries and techniques.
4.

Testing Impure Services

Enhance your skills in testing Scala's HTTP APIs with unit, integration tests, and ScalaCheck.
5.

Testing Pure Services

Map out the steps for unit and integration tests of Scala HTTP API services.
6.

Benchmarks

2 Lessons

Tackle performance advantages of pure functional implementations in handling requests and updates.
7.

Documentation

7 Lessons

Master the steps to document APIs effectively using Scala, Tapir, and OpenAPI.
8.

Epilogue

1 Lesson

Get familiar with pure functional programming benefits, testability, and future opportunities.

Course Author

Trusted by 1.4 million developers working at companies

Anthony Walker

@_webarchitect_

Emma Bostian 🐞

@EmmaBostian

Evan Dunbar

ML Engineer

Carlos Matias La Borde

Software Developer

Souvik Kundu

Front-end Developer

Vinay Krishnaiah

Software Developer

Eric Downs

Musician/Entrepeneur

Kenan Eyvazov

DevOps Engineer

Anthony Walker

@_webarchitect_

Emma Bostian 🐞

@EmmaBostian

Hands-on Learning Powered by AI

See how Educative uses AI to make your learning more immersive than ever before.

Instant Code Feedback

Evaluate and debug your code with the click of a button. Get real-time feedback on test cases, including time and space complexity of your solutions.

AI-Powered Mock Interviews

Adaptive Learning

Explain with AI

AI Code Mentor