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
$300 Free Credits for Your Google Cloud Projects Icon
$300 Free Credits for Your Google Cloud Projects

Start building on Google Cloud with $300 in free credits. No commitment, no credit card required until you're ready to scale.

Launch your next project with $300 in free Google Cloud credits—no strings attached. Test, build, and deploy without risk. Use your credits across the entire Google Cloud platform to find what works best for your needs. After your credits are used, continue with always-free tier services. Only pay when you're ready to scale. Sign up in minutes and start exploring.
Start Free Trial
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