Hello, I'm a university student from China.And I love Nim language so 
much.Indentation grammar, static type and efficiency draw my attentions.

For study purpose, I write a micro web framework, namely 
[Prologue](https://github.com/planety/prologue).Be careful: It still has a lot 
of bugs and can't work reliably.Tests and docs haven't finished.

**Some features:**

  * Configure and Settings
  * Context
  * Static Files
  * Forms
  * Simple Route
  * Middlewares
  * Template(Using Karax Native[Prefer] or Using Nim Filter)



**Hello Prologue:**
    
    
    proc hello*(ctx: Context) {.async.} =
      resp "<h1>Hello, Prologue!</h1>"
    
    
    let settings = newSettings(appName = "StarLight", debug = true)
    var app = initApp(settings = settings, middlewares = 
@[stripPathMiddleware()])
    app.addRoute("/", hello)
    app.addRoute("/hello", hello, HttpGet)
    app.run()
    
    
    Run

Any advice will be appreciated.

Reply via email to