akane

The Nim asynchronous web framework.


Keywords
async, web, framework, async-web, nim, nim-lang, web-framework
License
MIT
Install
nimble install akane

Documentation

Akane

The Nim asynchronous web framework.

Open Source Love Nim language-plastic License

Latest version - 0.0.4

Stable version - ?

Install

  • git: nimble install https://github.com/Ethosa/akane.git

Features

  • Pages with URL handling methods: equals, startswith, endswith, regex,notfound.
  • templates folder.
  • Only the standard library used.
  • Debug mode.
  • Simple usage
    import akane
    
    proc main =  # for gcsafe
      var server = newServer(debug=true)  # launch on http://localhost:5000
    
      server.pages:
        equal("/"):  # when url is "http://...localhost:5000/"
          # type of `request` is a Request.
          await request.answer("Hello, world!")  # utf-8 encoded message.
    
      server.start()
    main()

FAQ

Q: How I can help to develop this project?
A: You can put a ⭐️ :3

Copyright 2020 Ethosa