Set up a website with Nim (2019)
ttj.dk
ttj.dk
I am working on a small side project in Nim and saw your post and thought it was very well done.
My advice would be to use the current stable version since 2.0.0 is just around the corner :) ! We are quite happy with the performance and system load using jester[1] with httpbeast for routing, but there are a couple of alternatives in the package repository[2].
[0] https://nim-lang.org/install_unix.html [1] https://github.com/dom96/jester/ [2] https://nimble.directory/
IIRC, you started a new job a couple of years ago and as such, you we’re able to work on NIM as much anymore.
And if you (or others) are still working on it, any HTTP2 plans? https://github.com/dom96/httpbeast/issues/1
Love what you’ve built btw.
For what it's worth, HttpBeast has seen some love from me lately (with some big optimisations). HTTP2 would require effectively a new project IMO so if someone wants to make it happen I'd love to advise where I can.
If you're using Nim to target JS, a demo link of the Gantt would be super nice.
ps: A minor image 404 on the feature page there.
The official tutorials[3] are pretty good, when you get the grab on how to ”decode” them. For web development with websockets and microservices I would suggest you to have a look at the Redis package[4], and @treeform’s Websocket[5] and JsonParsing-packet[6].
[0] https://github.com/nim-lang/nimforum/ [1] https://github.com/karaxnim/karax [2] https://github.com/dom96/jester/blob/master/tests/alltest.ni... [3] https://nim-lang.org/docs/tut1.html [4] https://github.com/nim-lang/redis [5] https://github.com/treeform/ws [6] https://github.com/treeform/jsony
Nim is an amazing language, definitely underrated.