Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mfirry/web-frameworks-templates

Comparing different frameworks for building RESTful API in Scala
https://github.com/mfirry/web-frameworks-templates

hacktoberfest rest-api scala

Last synced: 2 days ago
JSON representation

Comparing different frameworks for building RESTful API in Scala

Awesome Lists containing this project

README

        

![Scala CI](https://github.com/mfirry/web-frameworks-templates/workflows/Scala%20CI/badge.svg)
[![Scala Steward badge](https://img.shields.io/badge/Scala_Steward-helping-blue.svg?style=flat&logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAQCAMAAAARSr4IAAAAVFBMVEUAAACHjojlOy5NWlrKzcYRKjGFjIbp293YycuLa3pYY2LSqql4f3pCUFTgSjNodYRmcXUsPD/NTTbjRS+2jomhgnzNc223cGvZS0HaSD0XLjbaSjElhIr+AAAAAXRSTlMAQObYZgAAAHlJREFUCNdNyosOwyAIhWHAQS1Vt7a77/3fcxxdmv0xwmckutAR1nkm4ggbyEcg/wWmlGLDAA3oL50xi6fk5ffZ3E2E3QfZDCcCN2YtbEWZt+Drc6u6rlqv7Uk0LdKqqr5rk2UCRXOk0vmQKGfc94nOJyQjouF9H/wCc9gECEYfONoAAAAASUVORK5CYII=)](https://scala-steward.org)

EXPERIMENTS on the look-and-feel (from the point of view of the *developer experience*) of a few frameworks/libraries used to develop web services in Scala.

At the end of the day all the examples should have:
- a '/' endpoint that would return [1, 2, 3] (json)
- a '/json' that would return {'message':'Hello, World!'} (json)
- a '/plaintext' that would return Hello, World!' (plaintext)

### High-Level Server Frameworks

| Name | Version | License | Github Stars |
|------------|--------------|----------------------------------------------------------------------------|--------------------------------------------------------------------------|
| [akka-http](https://doc.akka.io/docs/akka-http/current/) | 10.6.3 | ![GitHub](https://img.shields.io/github/license/akka/akka-http) | ![GitHub](https://img.shields.io/github/stars/akka/akka-http) |
| [cask](https://github.com/lihaoyi/cask) | 0.9.4 | ![GitHub](https://img.shields.io/github/license/com-lihaoyi/cask) | ![GitHub](https://img.shields.io/github/stars/com-lihaoyi/cask) |
| [http4s](https://http4s.org/) | 0.23.12 | ![GitHub](https://img.shields.io/github/license/http4s/http4s) | ![GitHub]( https://img.shields.io/github/stars/http4s/http4s) |
| [play](https://www.playframework.com/) | 2.8.8 | ![GitHub](https://img.shields.io/github/license/play/play) | ![GitHub](https://img.shields.io/github/stars/play/play) |
| [scalatra](https://scalatra.org/) | 2.8.2 | ![GitHub](https://img.shields.io/github/license/scalatra/scalatra) | ![GitHub](https://img.shields.io/github/stars/scalatra/scalatra) |
| [unfiltered](http://unfiltered.ws/) | 0.10.4 | ![GitHub](https://img.shields.io/github/license/unfiltered/unfiltered) | ![GitHub](https://img.shields.io/github/stars/unfiltered/unfiltered) |
| [zio-http](https://github.com/dream11/zio-http) | 2.0.0-RC2 | ![GitHub](https://img.shields.io/github/license/dream11/zio-http) | ![GitHub](https://img.shields.io/github/stars/dream11/zio-http) |