Photo by Viktor Juric on Unsplash

Building a private NPM registry can seem like a daunting task but when broken down into smaller chunks it all becomes easier to understand.

Link to the GitHub repository if you just want to explore the code yourself.

Prerequisite

  • Verdaccio

The Config

Verdaccio lets you get up and running fairly quickly but it would benefit you more to run it using a config file that allows us to modify the default behaviour. This will allow us to enable plugins and extend features such as authentication.

WARNING!! Do not panic, let’s work through this together.

  • Storage


Photo by Lorenzo Herrera on Unsplash

During a team meeting this week, I was given the task to see if we could bundle and serve our static react code inside of a Go server and produce a single binary that would be placed inside a docker container and can be run at any point to serve our site.

  • Link to the Github repository if you just want to have a look at structure.

Prerequisite

  • Go

Folder Structure

Esslam Ben Ramadan

“No one is useless in this world who lightens the burdens of another.” ― Charles Dickens

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store