RvR

Primary Navigation

Welcome back to "90 Day of Tutorials". Today I tried out Loopback. They describe themselves as:

A highly extensible Node.js and TypeScript framework for building APIs and microservices.

I made it through the following:

Perhaps the coolest thing is that their documentation introduced me to https://diataxis.fr/, which is a mental framework for thinking about technical documentation. Really thankful for this link, since it provides mind-blowing clarity to how to organize and think about documentation.

That being said, the Loopback documentation seems to be pretty well organized. I particularly enjoyed the "Getting Started", since it's only six steps long, and each step is very clearly delineated. Great.

The Todo and TodoList tutorials are coupled: that is, the TodoList builds on the Todo. It's really well structured in terms of introducing me to the concepts and the experience of building it is nice as well.

My big complete is that pnpm doesn't seem to be supported, and even npm doesn't work out of the box. I had to install some packages with the following:

npm i --save-dev @types/jest
npm i --save-dev @types/mocha

But other than that, I thought this was a really well thought-out introduction. I will definitely read through their Build large scale Node.js projects with LoopBack to see how they think about these sorts of problems. A quick glance at their Concepts page invites me for more reading as well.

They really know what they're doing on the documentation front. But somehow I'm a bit... underwhelmed? I'm not sure how I heard of Loopback, but it's not at all frequently mentioned. Is it a dying framework? Does anyone actually use it? The interwebs seem to suggest that vanilla Express is fine. Who knows. I've definitely learned lots here already, so at minimum it was good for that.

An interesting project would be to build two microservices with Loopback which talk to each other via Temporal.

Next Post Previous Post Navigation