Skip to content
Chris Kent edited this page Mar 23, 2018 · 11 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.

Note: Osiris should be considered beta quality at the moment. It is a proof-of-concept and should be used with caution. It is probably buggy and it might set your hair on fire.

You can’t perform that action at this time.