The sinatra-like web framework for Nim. Jester provides a DSL for quickly creating web applications in Nim. All routes must be inside a routes block. Routes will be executed in the order that they are declared. So be careful when halting. The route path may contain a special pattern or just a static string. Special patterns are almost identical to Sinatra's, the only real difference is the use of @ instead of the :. In this case you might want to make the leading '/' optional too, you can do this by changing the pattern to "/hello/?@name?". This is useful because Jester will not match "/hello" if the leading '/' is not made optional. Route bodies all have an implicit request object. This object is documented in jester.nim and documentation can be generated by executing nim doc jester.nim. It is possible not to use the routes macro and to do the routing yourself. You can do this by writing your own match procedure. Take a look at example2 for an example on how to do this.

Features

  • DSL for quickly creating web applications in Nim
  • All routes must be inside a routes block
  • Routes will be executed in the order that they are declared. So be careful when halting
  • The patterns in Jester are currently a bit more limited, there is no wildcard patterns
  • Regex can also be used as a route pattern
  • Jester supports conditions

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow Jester

Jester Web Site

Other Useful Business Software
Our Free Plans just got better! | Auth0 Icon
Our Free Plans just got better! | Auth0

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
Try free now
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Jester!

Additional Project Details

Registered

2022-11-28