Scalatra is a micro-web framework written in Scala for the JVM. It is lightweight, inspired by Sinatra in Ruby, designed to allow writing web APIs, REST endpoints, and web applications with minimal overhead. It integrates well with existing tools on the JVM, supports asynchronous request handling, templating, filters, and other web framework features, while remaining modular and accessible.

Features

  • Support for simple routing DSL: get, post, put, delete etc with parameter extraction in path or query string
  • Integration with templating engines (views), JSON support etc for building full web apps or APIs
  • Asynchronous request handling and non-blocking IO (for high throughput and responsive behavior)
  • Compatibility with JVM ecosystem: works with Java servlet containers or embedded servers, integrates with SBT, etc.
  • Modular and extendable with filters, middleware-style hooks, and flexible configuration
  • Small core overhead; minimal boilerplate for setting up routes / handlers

Project Samples

Project Activity

See All Activity >

Categories

Frameworks

Follow Scalatra

Scalatra Web Site

nel_h2
Simply solve complex auth. Easy for devs to set up. Easy for non-devs to use. Icon
Simply solve complex auth. Easy for devs to set up. Easy for non-devs to use.

Transform user access with Frontegg CIAM: login box, SSO, MFA, multi-tenancy, and 99.99% uptime.

Custom auth drains 25% of dev time and risks 62% more breaches, stalling enterprise deals. Frontegg platform delivers a simple login box, seamless authentication (SSO, MFA, passwordless), robust multi-tenancy, and a customizable Admin Portal. Integrate fast with the React SDK, meet compliance needs, and focus on innovation.
Start for Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Scalatra!

Additional Project Details

Programming Language

Scala

Related Categories

Scala Frameworks

Registered

2025-09-18