From eca60779bf51722c42bb4329dc91adc63a796456 Mon Sep 17 00:00:00 2001 From: flywind <43030857+xflywind@users.noreply.github.com> Date: Thu, 2 Jul 2020 15:51:16 +0800 Subject: [PATCH] clean readme --- README.md | 19 +++++-------------- 1 file changed, 5 insertions(+), 14 deletions(-) diff --git a/README.md b/README.md index 407c650cc..b71c38546 100644 --- a/README.md +++ b/README.md @@ -17,16 +17,6 @@ web services. **Reduce magic. Reduce surprise.** -## Current Work -Now we are working on rewriting network infrastructure. - -https://github.com/iocrate/netkit - -Also working on http2. - -https://github.com/nimlight/zest - - ## Documentation You can read documentation in https://planety.github.io/prologue. @@ -44,6 +34,7 @@ You can read documentation in https://planety.github.io/prologue. - [x] Middleware - [x] Simple Route - [x] Regex Route + - [x] DSL Route - [x] CORS Response - [x] Signing - [x] Cookie @@ -94,7 +85,7 @@ app.addRoute("/", hello) app.run() ``` -Run **app.nim**.Now the server is running at localhost:8080. +Run **app.nim**. Now the server is running at localhost:8080. ### Another example @@ -134,7 +125,7 @@ app.run() #### DSL for routes -Routes are equivalent to the example above +Routes are equivalent to the example above: ``` nim app.route: @@ -146,9 +137,9 @@ app.route: get "/hello/{name}" helloName ``` -Full examples in: [tests/test_readme/example3.nim](tests/test_readme/example3.nim) +Full examples in: [tests/test_readme/example3.nim](tests/test_readme/example3.nim). -Run **app.nim**.Now the server is running at localhost:8080. +Run **app.nim**. Now the server is running at localhost:8080. ### More examples - [HelloWorld](https://github.com/planety/prologue/tree/master/examples/helloworld)