Golang has a package called time very helpful and provides us with so many utils related to the time, we will use time.NewTicker contains a channel C that will send a tick at every specific interval time we can declare as an argument time.NewTicker(interval)
in this article, I will try to explain how to build a very simple web Chat application using Expressjs as a Nodejs HTTP server, SocketIO for a real-time communication and Redis adapter to broadcast messages between all the GKE Kubernetes Nodes’s clients.
The entire project source code is on Github 🎉, fork it!
For those who are not so familiar with Kubernetes or are just giving their first steps into this technology, let's understand what does it stands for
Google Kubernetes Engine (GKE) provides a managed environment for deploying, managing, and scaling your containerized applications using Google infrastructure. …
the idea is using a lambda function to resize and inject a text Watermark into any photo you upload to an S3 bucket.
from AWS Documentation, AWS Lambda integrates with other AWS services to invoke functions with an event parameter contains a set of useful data about the function’s caller. in our case, this AWS service is an S3 bucket which triggers a set of events when some kind of operation performed on it, for example, a “putObeject” event fired when a new file added to the bucket.
by default, the lambda function container doesn't contain any custom fonts…
so you are using Netlify to deploy your amazing website, or you are thinking about moving your website to the next generation of the JAMstack websites. that means your backend seemingly be a Serverless, living in the Netlify functions which are powered by AWS Lambda and need to be protected and accessible only to your website’s users. well, in this case, you can give your Firebase users access and use Firebase admin in Netlify function to verify the IdToken for every request.
IdToken is a jwt claims generated on Firebase Cloud
considering repository on GitHub there are a lot of events may happen to that repo such as push event or merge code into the master branch, these example of events and any event can trigger an automated workflow, and workflow can up one or more containers (instances) for you in the Cloud then provide a set of steps or instructions for the container to do something useful for you.
GitHub logs the entire progress of each step and makes it very clear if something failed during Action progress.
instead of writing your own steps from scratch you use ones implemented…
in this project gatsby-source-mycustomers, we will create a simple gatsby-source plugin to retrieve a fake users data from API and see how to use Graphql to obtain this data, I have uploaded the entire example to Github you can clone it and do your modifications.
in this story, I will show you how to add Axios HTTP client as an extra parameter to your redux async actions, this method will help you to organize your workflow and reuse one configured (API baseUrl, Authorization token in headers ) Axios instance in all your API calls.
a quite popular saying that goes: “Employees don’t quit their jobs, they quit their managers.” And there’s a lot of truth in that saying.
One problem in tech is high-level managers who don’t have a clue about technical complexities but are trying to measure the impact of infrastructure projects and failing to understand their value proposition.
This is a huge problem across the industry, and what’s worse is that it ends up in significant amounts of work/effort on the part of the engineering groups to make up the difference between what *should* have been done and what was actually done.
Firebase gives you the tools to develop high-quality apps, grow your user base, and earn more money. it covers the essentials so you can monetize your business and focus on your users.
Recently Firebase launched Cloud Functions–a way to run your code on their servers but if you just want to start a small business with no budget it will disappoint you that firebase functions The Spark plan (free plan), allows outbound network requests only to Google-owned services such as (Maps, Gmail…), so your amazing new Nodejs app cant access the public internet to do some important APIs call to…