- Published on
Scaffolding Made Easy - Boost Your Development with LoopBack 4
Years ago, when I was working with ASP.NET MVC, I never thought anything could replace the Scaffold tool for me. It was so easy and quick to turn a model into a CRUD class and connect it to the database. It had its complexities, especially when you wanted to work with it more professionally and cleanly (which you would regret in the end), but it was the only framework that had such capabilities back then. It was incredible how it could quickly generate a CRUD based on your model and give you a head start.
Many years have passed since I stopped working with ASP.NET MVC, and I had forgotten about that story. But at the beginning of this year, I got familiar with LoopBack, and what an exciting acquaintance it was! I never thought scaffolding models could be so easy, clean, and efficient, especially in NodeJS.
The fact that it can work with all database models, from Redis to MySql and MongoDB, is remarkable. The ability to perform all tasks through the CLI and often not requiring any code changes is fantastic.
Moreover, when Swagger was integrated, it became extraordinary, allowing you to see a list of all your APIs in the browser and test them there. (Swagger was also available in the previous version).
In LoopBack 4 (released in 2018), many great things happened.
From updating the core and using ES2017/ES2016 to a powerful authorization system that continues to get stronger.
The LoopBack framework, which was previously built on Express, is now standalone and can perform all its functions independently.
I recommend that if you haven't worked with it before, give it a try and enjoy the experience.
It supports OpenAPI Spec v3, which means it also supports GraphQL and gRPC, making it even more versatile and powerful.