From 1c16a9f868ed9ebaabc7db022210fe2714c68d30 Mon Sep 17 00:00:00 2001 From: InsanusMokrassar Date: Sat, 30 Apr 2022 08:47:35 +0600 Subject: [PATCH] Create README.md --- WebApp/README.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 WebApp/README.md diff --git a/WebApp/README.md b/WebApp/README.md new file mode 100644 index 0000000..4275aab --- /dev/null +++ b/WebApp/README.md @@ -0,0 +1,17 @@ +# WebApp + +Here you may find simple example of `WebApp`. For work of this example you will need one of two things: + +* Your own domain with SSL (letsencrypt is okay) +* Test account in telegram + +What is there in this module: + +* JVM part of this example is a server with simple static webapp sharing and bot which just gives the webapp button to open webapp +* JS part is the WebApp with one button and reacting to chaged user theme and app viewport + +## How to run + +```kotlin +./gradlew run --args="TOKEN WEB_APP_ADDRESS" +```