prologue
prologue copied to clipboard
Powerful and flexible web framework written in Nim
Heyho, I've recently noticed that prologue offers its own hashing proc to allow simple pbkdf2_sha256 hashing, with an API similar to how its handled in Django. This is in the...
This one came to me as I started writing procs that build generic prologue handlers: How can I ensure, that the URL path param that my handler assumes is there...
They get logged, so are consumed and lost when redirecting, e.g. after a form submission.
I added echo to the extend method, and noticed that it fires every time. This means that a new connection to mongo is opened every time. Also because of this,...
Using a full path for staticFileMiddleware() doesn't seem to work, only relative paths like "static" or "public" starting from the directory where the nim file was compiled.
When serving static files, I get the following error. ``` #[ C:\Users\vanyle\.nimble\pkgs\prologue-0.5.2\prologue\core\application.nim(535) run C:\Users\vanyle\.nimble\pkgs\prologue-0.5.2\prologue\core\application.nim(530) run C:\Users\vanyle\.nimble\pkgs\prologue-0.5.2\prologue\core\naive\server.nim(30) serve C:\Users\vanyle\.choosenim\toolchains\nim-1.6.0\lib\pure\asyncdispatch.nim(1961) waitFor C:\Users\vanyle\.choosenim\toolchains\nim-1.6.0\lib\pure\asyncdispatch.nim(1653) poll C:\Users\vanyle\.choosenim\toolchains\nim-1.6.0\lib\pure\asyncdispatch.nim(419) runOnce C:\Users\vanyle\.choosenim\toolchains\nim-1.6.0\lib\pure\asyncdispatch.nim(234) processPendingCallbacks C:\Users\vanyle\.choosenim\toolchains\nim-1.6.0\lib\pure\asyncmacro.nim(28) anonymousNimAsyncContinue C:\Users\vanyle\.choosenim\toolchains\nim-1.6.0\lib\pure\asyncmacro.nim(131) anonymousIter C:\Users\vanyle\.choosenim\toolchains\nim-1.6.0\lib\pure\asyncfutures.nim(389)...
Heyho, I just stumbled over this while implementing file upload in my web-application: Django has a very neat convenience functionality, which, if you try to upload a file into a...
Would be nice to add examples for using StdLib source code filters SCF in the documentation too, even if not recommended, compared to Karax, some people may want to use...