项目
在 GitHub 查看
Ethosa/akane
关于
The Nim asynchronous web framework.
网站与应用开发可以做什么
- Pages with URL handling methods: equals, startswith, endswith, regex,notfound;
- templates folder;
- Only the standard library used;
- YML-like pages syntax;
实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文Akane
The Nim asynchronous web framework.
Deprecated
Actual version - HappyX
Latest version - 0.2.0
Stable version - 0.2.0
Install
- git:
nimble install https://github.com/Ethosa/akane.git - nimble:
nimble install akane
Features
- Pages with URL handling methods:
equals,startswith,endswith,regex,notfound; templatesfolder;- Only the standard library used;
- YML-like pages syntax;
- Debug mode;
- Password hashing;
- Working with cookies;
- Simple usage:
import akane proc main = # for gcsafe var server = newServer() # by default launches 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. equals("/getme", HttpGet): await request.answer("You can see it only on GET method! :)") server.start() main()
Debug mode
For enable debug mode, please, compile with -d:debug or --define:debug.
Tools
For enable other tools like password checking, please, compile with -d:tools or --define:tools.
FAQ
Q: Where can I learn this?
A: You can see wiki page
Q: Where can I find the docs?
A: You can see docs page
Q: How can I help to develop this project?
A: You can put a :star: :3
Copyright 2020-2021 Ethosa
探索相关项目
加载中…
