No description
Find a file
John Dupuy 26b4df37c4
Merge pull request #8 from inv2004/patch-1
update initInterval to times.initTimeInterval
2021-04-24 12:39:55 -05:00
docs Changed naming to 'jesterwithplugins' added ref in README. 2020-05-28 17:31:09 -05:00
src update initInterval to times.initTimeInterval 2020-11-20 13:11:44 +03:00
tests Made _route and _after plugin procs conditional; tests/docs 2020-01-25 19:06:00 -06:00
.gitignore gitignore binaries generated by nimble test 2018-08-26 15:48:15 -07:00
.gitmodules Implements Nim in Action Chapter 7 test. 2018-07-18 14:56:04 +01:00
.travis.yml Use 0.19.4 in travis builds. 2019-04-18 21:18:34 +01:00
changelog.markdown Version 0.4.3. 2019-08-12 22:39:04 +01:00
jesterwithplugins.nimble Made jesterVer more manual to be more universal. 2020-07-10 13:07:59 -05:00
LICENSE.txt Changed naming to 'jesterwithplugins' added ref in README. 2020-05-28 17:31:09 -05:00
README.md Corrected doc links. 2020-06-20 12:11:07 -05:00
todo.markdown When requesting a folder from the static directory, and that folder has an index.html; it will be responded 2012-12-31 22:01:49 +00:00

🃏 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