nimble install https://github.com/Ethosa/akane.git
nimble install akane
equals
, startswith
, endswith
, regex
,notfound
.templates
folder.Simple usage
import akane
proc main = # for gcsafe
var server = newServer(debug=true) # launch on http://localhost:5000
server.pages:
equals("/"): # when url is "http://...localhost:5000/"
# You also can write "/" instead of equals("/")
# type of `request` is a Request.
await request.answer("Hello, world!") # utf-8 encoded message.
server.start()
main()
Q: Where I can learn this?
A: You can see wiki page
Q: Where I can find the docs?
A: You can see docs page
Q: How I can help to develop this project?
A: You can put a :star: :3