# Bootable > A simple, **unopinionated** framework for booting Kotlin applications. These docs describe the next version of Bootable, in progress and not yet released (3.1.0-SNAPSHOT). Each page's code is shown in each wiring style, each under its label: Vanilla (plain Kotlin, no DI framework), Kodein (deprecated), Koin, Metro, and Inara. Each install snippet lists the dependencies for each wiring style, and, where a module has a telemetry variant, both the dependencies without telemetry and those with OpenTelemetry. ## Get started - [Overview](https://rocketraman.github.io/bootable/bootable/next/index.html.md): A simple, **unopinionated** framework for booting Kotlin applications. - [Choosing a wiring style](https://rocketraman.github.io/bootable/bootable/next/wiring.html.md): Bootable’s core embeds no DI framework. - [All modules](https://rocketraman.github.io/bootable/bootable/next/modules.html.md): Every Bootable module, by function. - [Faster start: AOT cache](https://rocketraman.github.io/bootable/bootable/next/aot-cache.html.md): Start a Bootable application faster from a JVM AOT cache, trained by a Gradle task, in a Jib image, or in a Dagger pipeline. ## Concepts - [Overview](https://rocketraman.github.io/bootable/bootable/next/concepts/index.html.md): The ideas the rest of the site builds on: Bootable's approach, the application's lifecycle, and the order services start in. - [No magic](https://rocketraman.github.io/bootable/bootable/next/concepts/philosophy.html.md): Bootable is a simple, unopinionated framework for booting and running applications: explicit wiring, typed config, and the libraries underneath used directly. - [Lifecycle and services](https://rocketraman.github.io/bootable/bootable/next/concepts/lifecycle.html.md): How Bootable builds, starts, runs, and stops an application: services, lifecycle controllers, states, start failures, and shutdown. - [Start order](https://rocketraman.github.io/bootable/bootable/next/concepts/start-order.html.md): How Bootable orders services: phases, milestones within a phase, the tiebreaker, the logged start plan, and custom start orders. ## Functions - [Configuration](https://rocketraman.github.io/bootable/bootable/next/configuration/index.html.md): Typed config classes, bound from HOCON and the environment by Hoplite, with secrets masked. - [Environment](https://rocketraman.github.io/bootable/bootable/next/environment/index.html.md): The deployment environment, such as dev, test, or prod, from config, in a global variable. - [Logging (Log4j2)](https://rocketraman.github.io/bootable/bootable/next/logging/index.html.md): Log4j2 to the console, as plain or coloured text, JSON, or Google Cloud's JSON, set up before anything else runs. - [Database](https://rocketraman.github.io/bootable/bootable/next/database/index.html.md): A connection pool tied to the application's lifecycle, with migrations and an ORM on top. - [Database: Drivers](https://rocketraman.github.io/bootable/bootable/next/database/drivers.html.md): SQLite, PostgreSQL, MySQL, or any database by JDBC URL. - [Database: Connection pool (HikariCP)](https://rocketraman.github.io/bootable/bootable/next/database/hikari.html.md): HikariCP, configured from db.pool, with its metrics through OpenTelemetry. - [Database: Migrations (Flyway)](https://rocketraman.github.io/bootable/bootable/next/database/flyway.html.md): Flyway's migrations, run when the application starts, before anything uses the schema. - [Database: ORM (Exposed)](https://rocketraman.github.io/bootable/bootable/next/database/exposed.html.md): An Exposed Database over the pool, with transactions and a check of the schema. - [Web / HTTP](https://rocketraman.github.io/bootable/bootable/next/http/index.html.md): A Ktor server and Ktor clients that start and stop with the application, and its liveness and readiness probes. - [Web / HTTP: Server (Ktor)](https://rocketraman.github.io/bootable/bootable/next/http/server.html.md): A Ktor server that starts and stops with the application, on the engine of your choice, traced and measured. - [Web / HTTP: Client (Ktor)](https://rocketraman.github.io/bootable/bootable/next/http/client.html.md): The application's Ktor HttpClients, configured from http.client, and closed when the application stops. - [Web / HTTP: Health](https://rocketraman.github.io/bootable/bootable/next/http/health.html.md): Liveness and readiness from the application's lifecycle, with readiness checks and a drain at shutdown, and the build info, served as JSON by Ktor. - [Background work](https://rocketraman.github.io/bootable/bootable/next/background/index.html.md): Loops that poll, persistent tasks that run once across the instances, and a leader to run a loop on one instance. - [Background work: Periodic work](https://rocketraman.github.io/bootable/bootable/next/background/periodic.html.md): PeriodicAppService: a loop in the background, gated on the leader or the application's health, with a trace for each run. - [Background work: Leader election](https://rocketraman.github.io/bootable/bootable/next/background/leader.html.md): LeaderElection: whether this instance leads, by a Kubernetes Lease, or always, and a fencing token for its writes. - [Background work: Scheduled tasks (db-scheduler)](https://rocketraman.github.io/bootable/bootable/next/background/scheduler.html.md): db-scheduler's persistent tasks, recurring and one-time, over the application's database, run once across its instances. - [Telemetry (OpenTelemetry)](https://rocketraman.github.io/bootable/bootable/next/telemetry/index.html.md): The application's OpenTelemetry SDK, for traces and metrics, tied to its lifecycle. - [Telemetry (OpenTelemetry): Exporters and integrations](https://rocketraman.github.io/bootable/bootable/next/telemetry/exporters.html.md): Prometheus's scrape, SigNoz, Google Cloud, and a bridge from Micrometer. - [Testing](https://rocketraman.github.io/bootable/bootable/next/testing/index.html.md): Helpers for unit tests: a test clock, captured logs, start plans, and in-memory telemetry, without booting the application. ## Examples - [Overview](https://rocketraman.github.io/bootable/bootable/next/examples/index.html.md): Runnable applications in the repository's examples directory, each showing Bootable functions put together. - [Wiring styles](https://rocketraman.github.io/bootable/bootable/next/examples/wiring.html.md): The smallest Bootable application, one service that logs a greeting, wired with plain Kotlin, Kodein, Koin, Metro, and Inara. - [Ktor server](https://rocketraman.github.io/bootable/bootable/next/examples/server-ktor.html.md): A small Ktor server on Netty, with typed config, run by Bootable and buildable as a GraalVM native image. - [Server with a database](https://rocketraman.github.io/bootable/bootable/next/examples/server-ktor-db.html.md): A key/value store over HTTP, with a database, telemetry, an HTTP client, health probes, and background work, wired five ways. - [Custom start order](https://rocketraman.github.io/bootable/bootable/next/examples/start-order.html.md): A Ktor server and a ready file, ordered with a custom lifecycle phase. - [Web app with Compose HTML](https://rocketraman.github.io/bootable/bootable/next/examples/compose-html.html.md): A todo list in Kotlin end to end, with a Compose HTML browser client and a Ktor server run by Bootable. - [Web app with htmx](https://rocketraman.github.io/bootable/bootable/next/examples/htmx.html.md): A todo list rendered on the server with kotlinx.html, and made interactive with htmx, by a Ktor server run by Bootable. - [Web app with Kilua](https://rocketraman.github.io/bootable/bootable/next/examples/kilua.html.md): A todo list with a Kilua client, rendered on the server by a Node.js process that Bootable starts before the Ktor server. ## Comparison - [Spring Boot](https://rocketraman.github.io/bootable/bootable/next/comparison/spring-boot.html.md): Why you might use Bootable rather than Spring Boot, when Spring Boot is the better choice, and how Spring Boot's concepts map onto Bootable's. ## Optional - [API reference](https://rocketraman.github.io/bootable/bootable/next/api/index.html): every module's API, from its KDoc, as HTML - [All of these pages in one file](https://rocketraman.github.io/bootable/bootable/next/llms-full.txt) - [Changelog](https://github.com/rocketraman/bootable/blob/master/CHANGELOG.adoc): each release's changes