This repository was archived by the owner on Jul 13, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Original file line number Diff line number Diff line change
1
+ # Thinkter: A Kotlin Full-stack Application Example
2
+
3
+ Thinkter is an example of a full-stack Web application built with Kotlin. The backend runs on the JVM, and the browser
4
+ front-end uses React. The example implements a very simple microblogging application.
5
+
6
+ ## Backend
7
+
8
+ The backend of Thinkter is built using [ Ktor] ( https://github.com/kotlin/ktor ) , a Web framework built by the Kotlin team.
9
+ For data persistence, it uses [ H2] ( http://www.h2database.com ) , allowing you to run the example without the need to configure
10
+ an external SQL server. The HTTP server implementation is provided by [ Jetty] ( http://www.eclipse.org/jetty/ ) .
11
+
12
+ To run the backend, use ` ./gradlew backend:run ` , or open Thinkter as a project in IntelliJ IDEA and execute the shared
13
+ run configuration ` Backend :: Jetty ` . This will start serving the REST API of the backend on port 9090.
14
+
15
+ ## Frontend
16
+
17
+ The frontend of Thinkter is built using [ React] ( https://facebook.github.io/react/ ) . To adapt the React APIs to Kotlin,
18
+ it incorporates a set of [ wrappers] ( https://github.com/orangy/thinkter/tree/master/frontend/src/org/jetbrains/react ) , which
19
+ you can also use in your projects and adapt to your needs.
20
+
You can’t perform that action at this time.
0 commit comments