Kotlin is a modern but already mature programming language designed to make developers happier. It's concise, safe, interoperable with Java and other languages, and provides many ways to reuse code between multiple platforms for productive programming.
To start, why not take our tour of Kotlin? This tour covers the fundamentals of the Kotlin programming language.
Kotlin is included in each IntelliJ IDEA and Android Studio release. Download and install one of these IDEs to start using Kotlin.
Here is how you can take the first steps in developing Kotlin server-side applications.
-
Create your first backend application:
- To start from scratch, create a basic JVM application with the IntelliJ IDEA project wizard.
- If you prefer more robust examples, choose one of the frameworks below and create a project:
Spring Ktor A mature family of frameworks with an established ecosystem that is used by millions of developers worldwide.
- Create a RESTful web service with Spring Boot.
- Build web applications with Spring Boot and Kotlin.
- Use Spring Boot with Kotlin and RSocket.
A lightweight framework for those who value freedom in making architectural decisions. - Create HTTP APIs with Ktor.
- Create a WebSocket chat with Ktor.
- Create an interactive website with Ktor.
- Publish server-side Kotlin applications: Ktor on Heroku.
-
Use Kotlin and third-party libraries in your application. Learn more about adding library and tool dependencies to your project.
- The Kotlin standard library offers a lot of useful things such as collections or coroutines.
- Take a look at the following third-party frameworks, libs and tools for Kotlin.
-
Learn more about Kotlin for server-side:
-
Join the Kotlin server-side community:
- {width=25}{type="joined"} Slack: get an invite and join the #getting-started, #server, #spring, or #ktor channels.
- {width=25}{type="joined"} StackOverflow: subscribe to the "kotlin", "spring-kotlin", or "ktor" tags.
-
Follow Kotlin on {width=18}{type="joined"} Twitter, {width=25}{type="joined"} Reddit, and {width=25}{type="joined"} Youtube, and don't miss any important ecosystem updates.
If you've encountered any difficulties or problems, report an issue to our issue tracker.
Here you'll learn how to develop and improve your cross-platform application using Kotlin Multiplatform.
-
Create your first application for iOS and Android:
- To start from scratch, create a basic cross-platform application with the project wizard.
- If you have an existing Android application and want to make it cross-platform, complete the Make your Android application work on iOS tutorial.
- If you prefer real-life examples, clone and play with an existing project, for example the networking and data storage project from the Create a multiplatform app using Ktor and SQLdelight tutorial or any sample project.
-
Use a wide set of multiplatform libraries to implement the required business logic only once in the shared module. Learn more about adding dependencies.
Library Details Ktor Docs Serialization Docs and sample Coroutines Docs and sample DateTime Docs SQLDelight Third-party library. Docs You can also find a multiplatform library in the community-driven list.
{type="tip"}
-
Learn more about Kotlin Multiplatform:
- Learn more about Kotlin Multiplatform.
- Look through samples projects.
- Publish a multiplatform library.
- Learn how Kotlin Multiplatform is used at Netflix, VMware, Yandex, and many other companies.
-
Join the Kotlin Multiplatform community:
- {width=25}{type="joined"} Slack: get an invite and join the #getting-started and #multiplatform channels.
- {width=25}{type="joined"} StackOverflow: Subscribe to the "kotlin-multiplatform" tag.
-
Follow Kotlin on {width=18}{type="joined"} Twitter, {width=25}{type="joined"} Reddit, and {width=25}{type="joined"} Youtube, and don't miss any important ecosystem updates.
If you've encountered any difficulties or problems, report an issue to our issue tracker.
To start using Kotlin for Android development, read Google's recommendation for getting started with Kotlin on Android.
Follow Kotlin on {width=18}{type="joined"} Twitter, {width=25}{type="joined"} Reddit, and {width=25}{type="joined"} Youtube, and don't miss any important ecosystem updates.
From building data pipelines to productionizing machine learning models, Kotlin is a great choice for working with data and getting the most out of it.
-
Create and edit notebooks seamlessly within the IDE:
-
Explore and experiment with your data:
-
Get the latest updates about Kotlin for Data Analysis:
- {width=25}{type="joined"} Slack: get an invite and join the #datascience channel.
- {width=25}{type="joined"} Twitter: follow KotlinForData.
-
Follow Kotlin on {width=25}{type="joined"} Twitter, {width=25}{type="joined"} Reddit, and {width=25}{type="joined"} Youtube, and don't miss any important ecosystem updates.
If anything is missing or seems confusing on this page, please share your feedback.