I found this: [https://github.com/enthus1ast/nimWebTemplates](https://github.com/enthus1ast/nimWebTemplates)
Its very similar to Jinja templates in Django, and it has some nice examples 🙂 For passing data to FE you must use restful api, just like any other frontend framework
