Settings

Theme

Show HN: Build reusable Node.js APIs and install them via a CLI

vratix.com

2 points by ivan-ivanov a year ago · 0 comments · 2 min read

Reader

Hey everyone, Ivan here, Founder & CEO @ Vratix.

A few weeks ago we released our public beta of Vratix - an Open Source API Library with reusable modules that implement common backend logic. We've had pretty good response so far from our early users and got 110+ GitHub stars [1].

A lot of the feedback was that devs want to be able to build their own custom logic and install it via our CLI.

We have just released this functionality and I thought I share it with you in case you find it useful. You can create and publish new Private Modules to your own registry directly via the CLI or you can also connect your GitHub account and we will update your private registry on every push to `main`.

You might ask how is this different than just a GitHub template - the basic concept is similar, but our CLI does a lot of heavy lifting when you want to easily integrate your API logic into a new or an existing Node.js backend service - it takes care of resolving imports, copying and maintaining the correct folder structure, creating DB migration files, etc.

It is like a private NPM registry where you own the source code and instead of installing a library it copies over the source code so you can customise it as you wish.

It is pretty easy to get started, you can check our guide here: [2]

Basically, if you’ve ever wanted to reuse your API logic across multiple projects - or share it only with your team - this is for you.

We have some pretty exciting stuff coming over the next few weeks - we are building the most advanced backend developer tool and what we have so far is <5% of our vision :)

Let me know what you think, I am very open to feedback as it helps me iterate and build faster.

[1] https://github.com/vratix-dev/api-library [2] https://vratix.com/docs/privateModules/gettingStarted

No comments yet.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection