Skip to content
This repository was archived by the owner on Jul 13, 2021. It is now read-only.

Commit fd38dd9

Browse files
authored
Create README.md
1 parent 15f9277 commit fd38dd9

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

README.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
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+

0 commit comments

Comments
 (0)