As of November 2020, I’ve spent almost a year managing a very small Kubernetes cluster to deploy some things:
In a nutshell: I’m using Kubernetes to deploy anything I might want to deploy. It’s like my personal playground to bring things to life on the internet.
While doing all of this, I ended up learning a lot about Kubernetes, the ecosystem and how it integrates with Cloud Providers.
I’m not an SRE, System Admin or DevOps engineer. I’m just a Software Engineer that likes to build and manage distributed applications. …
Yesterday I started writing a few web scrapers in Node.js to gather some data for a personal project of mine (wait for it).
One of the things I had to deal, is how to convert addresses to geolocation (latitude and longitude, basically.)
Hm… there must be a package for that.
And of course, there is: https://www.npmjs.com/package/node-geocoder
And it's usage is fairly simple:
But, as we're using Google as a provider, of course, none of this is for free 😅
I was making a lot of tests and I would trigger a few thousands of requests because I was basically web scraping a lot of sources and also validating those results. …
Micro frontends are a hot topic currently. Everyone is talking about it. People are curious about how to implement it, what are the pros and cons and so on.
You might be tempted to start implementing your own architecture. You might look at a bunch of resources: Dan Abramov threads, Sean Larkin threads, Luca Mezzalira Blog Posts, examples using server-side include libraries with Node and React, maybe client-side libraries that will help to get the puzzle together.
Did I mention this manifest?
Damn, there is even a Martin Fowler’s blog post about it now.
And I do understand all the fuzz, I also am excited myself! …
Note! This article is also available in:
Many thanks to the translators ❤
Hey you! Nice to see you around!
I wanted to write down a simple guide for getting Authentication done with Firebase and React quickly.
I’ll be very direct and straight to the point here. I won’t cover edge cases like authenticated routes or showing up error messages properly.
In this tutorial, we’ll make only the minimal changes we need to have basic google authentication in place.
We’ll be using a few open-source projects:
Make sure you have…
I’m currently creating an application from scratch using
create-react-app . The application has a single form with validation in the fields. For form state control and validation, I am using formik together with yup schemas.
This is the stateless code for this form:
As you see, it receives an
errors prop, which is simply an object with some error keys for the form. It would be something like this:
team: 'Please select a team',
project: 'Please select a project',
/** etc.. */
And this object is usually recreated at each user interaction with the form as he types or select stuff in the form. The reason this happens is that, when Formik state changes due to user input, it also needs to validate the new state against the Yup schema, so it generates a new
errors object and passes down to this stateless form. …