Scalatra VS sangria

Compare Scalatra vs sangria and see what are their differences.


Tiny Scala high-performance, async web framework, inspired by Sinatra (by scalatra)


Scala GraphQL implementation (by sangria-graphql)
Our great sponsors
  • Scout APM - A developer's best friend. Try free for 14-days
  • Nanos - Run Linux Software Faster and Safer than Linux with Unikernels
  • SaaSHub - Software Alternatives and Reviews
Scalatra sangria
2 4
2,532 1,863
0.2% 0.9%
9.0 9.4
7 days ago 3 days ago
Scala Scala
GNU General Public License v3.0 or later Apache License 2.0
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.


Posts with mentions or reviews of Scalatra. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-02-08.
  • Checklist for learning Scala
    5 projects | | 8 Feb 2021
    Find the frameworks: Scalatest, Scalatra, Sangria
    5 projects | | 8 Feb 2021
    Start collaborating on an open-source library: this point was a bit more complicated than I thought. Many libraries are either too big or have too many contributors already or are too advanced for a beginner or donโ€™t have good-first-issues. I decided to settle down on Scalatra because I was already using it in my demo project.


Posts with mentions or reviews of sangria. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-10-07.
  • How is this calculating complexity?
    1 project | | 18 Oct 2021
    I am taking a look at Resolver from the Sangria GraphQL library and I cannot figure out how calcComplexity works. The code in the `Success` us really confusing to me. Where is the complexity getting calculated?
  • Where is this value coming from?
    1 project | | 17 Oct 2021
    I started taking a look at QueryReducer from the Sangria GraphQL library and I am having a really hard tracing the logic for rejectMaxDepth. More specifically, I don't understand why depth is a parameter to measureDepth, where it is coming from, and how the depth is being calculated in measureDepth.
  • How (Not) To Build Your Own GraphQL Server
    5 projects | | 7 Oct 2021
    Instead of constructing an object, it uses classes to define the types and operations for the schema that it generates. The schema generated by this implementation will have the same structure as the schema created with graphql-js. Using classes to define your schema has the advantage of being less mutable and more structured when writing code. Similar implementations can be found for TypeScript with the library TypeGraphQL or Sangria GraphQL for Scala.
  • What is the state of frameworks and libraries support to build microservices in scala?
    3 projects | | 16 Apr 2021
    As Api gateway we use sangria on top of Finagle (finch to be precise) and that has been a huge boon in making the connection between microservices and frontend seamless/safe.

What are some alternatives?

When comparing Scalatra and sangria you can also consider the following projects:

Play - Play Framework

Finatra - Fast, testable, Scala services built on TwitterServer and Finagle

Lift - Lift Framework

Skinny Framework - :monorail: "Scala on Rails" - A full-stack web app framework for rapid development in Scala

Colossus - I/O and Microservice library for Scala

Unfiltered - A toolkit for servicing HTTP requests in Scala

youi - Next generation user interface and application development in Scala and Scala.js for web, mobile, and desktop.

suzaku - Suzaku web UI framework for Scala

Play Pagelets - A module for the Play Framework to build highly modular applications