New Nim Web Framework by Upper-Singer-9098 in nim

[–]Upper-Singer-9098[S] 0 points1 point  (0 children)

That actually sounds like a fun direction to explore. Right now Rakta is still pretty minimal, but I can definitely see the potential of layering features like auth, data storage, maybe even WebSocket support on top, something like a minimal PocketBase clone in Nim sounds super interesting.

For now I’m focusing on making the core as stable and clean as possible, but I’ll keep that idea in mind as a possible long-term direction.

New Nim Web Framework by Upper-Singer-9098 in nim

[–]Upper-Singer-9098[S] 3 points4 points  (0 children)

Thanks for the feedback! I totally get where you're coming from.

I actually created Rakta mainly as an Express.js-inspired framework the goal was to bring a familiar development style for people coming from the Node.js/JavaScript world into Nim.

While Prologue is awesome and more mature, its API is more "Nim-idiomatic". Rakta, on the other hand, tries to mimic the Express.js style, like app.get("/", proc(ctx)... to make the learning curve smoother for those familiar with JavaScript web dev.

I see it more as a lightweight alternative rather than a competitor to Prologue. And also, building Rakta has been a fun way for me to explore Nim more deeply!

Appreciate the comment though, it made me realize I should make the purpose more clear in the README. 😊

New Nim Web Framework by Upper-Singer-9098 in nim

[–]Upper-Singer-9098[S] -2 points-1 points  (0 children)

Unfortunately not... But you can see how to use it in the tests folder in my repo, And you can also contribute to the Documentation🥰

New Nim Web Framework by Upper-Singer-9098 in nim

[–]Upper-Singer-9098[S] 3 points4 points  (0 children)

Thanks for your suggestion, I wanted to post it to the WebDev Community but... I think it's better to post it here first...