About developing web applications with Nim. Part 2
In the last article (here), I told you about a fresh web framework called HappyX, which, by the way, received a new major release – 2.0.0 (Nim, by the way, too, @denis-19 wrote about it here).
In this article, I will introduce you to the main changes in the new version of the framework, and also tell you why you should choose HappyX for your projects.
Automatic Documentation Generation
Developers of FastAPI and similar frameworks can rejoice – automatic documentation generation is available in HappyX. You can learn more about this feature in the video.
The main feature is that the documentation is generated at compile time of your application, and at runtime, time is spent only sending the documentation to the client (browser).
Nim 2.0.0 support
Starting with version 2.0.0, HappyX provides support for working with Nim version 2 and above, while at the same time supporting the old version 1.6.14.
Other Features of the Framework
HappyX is really fast. Judging by this benchmark
With this framework, you don’t need to think about “how is this done in FastAPI?” or “how is it done in Vue.js?”. Everything is simple here – you take it and do it.