From 4a8bc284b2072ed42c8c24cfbf665d0afb912585 Mon Sep 17 00:00:00 2001 From: Marco Fracassi Date: Thu, 16 Apr 2020 09:20:19 +0200 Subject: [PATCH] Release 1.4.0 --- README.md | 4 +-- README.md-e | 70 ----------------------------------------------------- 2 files changed, 2 insertions(+), 72 deletions(-) delete mode 100644 README.md-e diff --git a/README.md b/README.md index 3acb7fe..03f9990 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,7 @@ repositories { - Add the dependency ``` -implementation 'com.github.DaikonWeb:daikon:1.3.6' +implementation 'com.github.DaikonWeb:daikon:1.4.0' ``` ### Maven @@ -41,7 +41,7 @@ implementation 'com.github.DaikonWeb:daikon:1.3.6' com.github.DaikonWeb daikon - 1.3.6 + 1.4.0 ``` diff --git a/README.md-e b/README.md-e deleted file mode 100644 index d9d2ef5..0000000 --- a/README.md-e +++ /dev/null @@ -1,70 +0,0 @@ -# Daikon - -![Daikon](./logo.svg) - -Daikon is a simple and minimal framework for creating web applications in Kotlin with minimal effort. -The main goals are: -* Use a framework easy to test -* Build a simple web application in less then 5 minutes -* Can run multiple instances of HTTP server at the same time -* Deploy application in container, with server start time less than 100ms - -## How to add Daikon to your project -[![](https://jitpack.io/v/daikonweb/daikon.svg)](https://jitpack.io/#daikonweb/daikon) - -### Gradle -- Add JitPack in your root build.gradle at the end of repositories: -``` -repositories { - ... - maven { url 'https://jitpack.io' } -} -``` - -- Add the dependency -``` -implementation 'com.github.DaikonWeb:daikon:1.2.4' -``` - -### Maven -- Add the JitPack repository to your build file -``` - - - jitpack.io - https://jitpack.io - - -``` -- Add the dependency -``` - - com.github.DaikonWeb - daikon - 1.2.3 - -``` - -## Getting Started -``` -HttpServer() - .get("/foo") { _, res -> res.write("Hello foo") } - .post("/bar") { _, res -> res.write("Bye bar") } - .start().use { - assertThat(get("/foo").text).isEqualTo("Hello foo") - assertThat(post("/bar").text).isEqualTo("Bye bar") - } -``` - -## Resources -* Documentation: https://daikonweb.github.io -* Examples: https://github.com/DaikonWeb/daikon-examples - -## Authors - -* **[Marco Fracassi](https://github.com/fracassi-marco)** -* **[Alessio Coser](https://github.com/AlessioCoser)** - -## License - -This project is licensed under the Apache License 2.0 - see the [LICENSE](LICENSE) file for details