Thorin.js is a modular framework made in node.js that helps you focus more on actual development and less on making things work. It has a single core module that is used and extended by other modules and components. Basically you can pick and choose which components are best for the task at hand. Being a modular framework you have options, and that is the whole idea behind Thorin, options and modules for each function or task. You can use it to easily:
- Boot up a pre-configured web-server, sanitize and validate all your input
- Render static HTML files using a templating engine, compile your less & sass styles
- Integrate centralized logging with loglet.io
- Use secure sessions in your requests, stored in redis, MySQL or file system
- Use already written components for some wide-spread services (Redis, ElasticSearch, Sequelize)
- Use a centralized dispatcher to handle your redux actions via HTTP or WebSockets
- Schedule recurring tasks that may use a redis queue to process events
- Extend the core functionality with use-case specific plugins
- Integrate with sconfig.io‘s discovery system for microservice discovery & authorization
- And much much more…
Check out the full documentation here! Thorin is a powerful framework, proudly made in Cluj, proving once again the ingenuity and technical know how that we have in this great city of ours.
The training was organized by helloJS, with more editions to follow so stay tuned. Adrian Bunta, Thorin creator, held the training. It had several sections, beginning with a theoretical presentation on Thorin, detailing the why, how and when of the journey that took to create such a framework. It was followed by a few sessions of live coding, where participants created a few examples to get a better grip on how Thorin works – three applications that work as microservices part of the larger todo app. You can check out the full training on the hello.JS Youtube channel.