mirror of
https://github.com/JohnAD/jesterwithplugins/
synced 2026-01-14 10:51:31 +00:00
No description
|
|
||
|---|---|---|
| docs | ||
| src | ||
| tests | ||
| .gitignore | ||
| .gitmodules | ||
| .travis.yml | ||
| changelog.markdown | ||
| jesterwithplugins.nimble | ||
| LICENSE.txt | ||
| README.md | ||
| todo.markdown | ||
🃏 Jester (with plugins) 🃏
The sinatra-like web framework for Nim. Jester provides a DSL for quickly creating web applications in Nim.
This particular version is a fork of the main-line jester for the testing of
the "plugin" functions. It will eventually
be merged back into jester. If you are not using the plugins, I recommend
using the main jester library. See https://nimble.directory/pkg/jester
Install
It is best to install using the nimble tool:
$ nimble install jesterwithplugins
Example Of Use
# example.nim
import jesterwithplugins
routes:
get "/":
resp "<html><body><h1>Hello World!</h1></body></html>"
Compile and run with:
$ nim c -r example.nim
View with a browser at: localhost:5000
[WIP] Plugins
For using plugins, see plugins.
To develop a plugin, see plugin development.
Further documentation
TBD