A good amount of projects uses the same components in the front end: a custom login, some menus, and of course a 3D viewer (Forge, IFC,js).
To make the process leaner, we start searching for our own package management, an npm-like solution to handle all our components in a safe and private way.
This is the starting point of a series where we research different options to solve this problem.
What is Verdaccio?
Verdaccio is a lightweight, extensible, and open-source private npm proxy registry. Built in Node.js, Verdaccio allows developers to have a local npm private registry with zero configuration. This is particularly useful for caching npm packages or for setting up a private registry for internal use, ensuring faster and more reliable builds.
It can be easily integrated with popular continuous integration tools and offers features like authentication, plugins, and more. By using Verdaccio, teams can ensure they have consistent access to the npm packages they need, even if the main npm registry is down or inaccessible. Verdaccio is easy to deploy on-premise or in the cloud.
Five steps to deploy Verdaccio to an AWS EC2
To deploy it to an AWS EC2, is as simple (or complex) as this:
1 – Create an AWS EC2 instance,
2 – Open the port in the security Inbounds setup,
3 – Open the port using the command. Depending on the version of Linux you are running, you need to call iptables.