Skip to content
C.J.Kent edited this page Nov 24, 2020 · 15 revisions

Osiris - Simple Serverless Web Apps

Osiris is a Kotlin library that makes it easy to write and deploy serverless REST APIs. You can develop an API with Osiris and deploy it to AWS Lambda and API Gateway with a single command and without being an AWS expert. APIs written with Osiris can also be run in a local server for development and testing.

The simplest possible API you can build with Osiris looks something like this.

val api = api<ComponentsProvider> {

    get("/helloworld") { req ->
        "hello, world!"
    }
}

An API can be deployed to AWS or run locally with a single Maven command. It can also be run in an IDE with a single method call.

See the getting started guide for an introduction or the example projects for examples of how to solve common problems with Osiris.

Osiris is used in production at CodeScreen and 7 Star Raffles.