When building backend services for a project ,there will be instances where we write similar API logic .
Generally we save code snippets in git or use custom starter templates which we utilise in various projects.
But do you know we can utilise the same API logic by installing npm modules private to you ?
Here comes Vratix private api modules, where we can install our own private registry and get full ownership of the code.
Steps :
- Create a Vratix account and login into your cli.
npx vratix login
- Write your API modules, they provide github templates ,fork it and modify your API logic and link it to your Vratix account.
npx vratix module new
- Connect a github repo to Vratix Dashboard and it automatically pulls updates to your modules. or using cli to publish the registry.
npx vratix module publish --private
- When you need to install your private module with command :
npx vratix add
Top comments (0)