Save your mind with shortcuts!

Posted on Jan 7, 2021

Your next project is running in the cloud. The workspace is full of microservices, a BFF and more than one Angular application. When working locally, you need a token to authenticate your locally running BFF against the API management layer. Later on you’ve a meeting, and you’d like to show your last change on your remote environment, just to avoid showing http://localhost:4200 on the address bar. That means deploying your changes: a lots of commands to authenticate, build the Docker images, push them on the remote registry, then…a lots of things to do!

Well, in that scenario is not uncommon to fall in the mistakes-factory. Without any doubt. When entering project like this, my first step is to pack a collection of shortcuts in a bash file that I’ll include in the profile. You’ll easily remember hello-world-ui instead of the set of commands needed to perform that operation.

That’s a good way to keep our mind clear and focus on important things!

PS. It’s also good to share these shortcuts with other devs in the team. Try to do that, you’ll appreciate their feedback!