Posted on Leave a comment

Building my first Mobile App – Part 3: Adding authentication with firebase

React Native 3

Part 1: Setting up using React Native and ExpoPart 2: Ditching ExpoPart 3: Adding authentication with firebase Next I am going to add authentication with Firebase. I’ll leverage the react-native-firebase library. Installing firebase in React Native First, I have to install the base package. npm install –save @react-native-firebase/app To connect firebase to my Android app, I also had to follow the instructions here up till Step 3. Adding anonymous authentication To do this, I had to install the auth module.…

Read more

Posted on Leave a comment
Posted on Leave a comment

Building my first Mobile App – Part 2: Ditching Expo

React Native 2

Part 1: Setting up using React Native and ExpoPart 2: Ditching ExpoPart 3: Adding authentication with firebase In the first part of this series, I created the base structure for the project with React Native and Expo. Next, I wanted to add a storage system to the application. After doing some research, I settled on using firestore. I wanted a dead simple method of having an offline/online synchronized storage. Also, I appreciate that it would be simple to…

Read more

Posted on Leave a comment
Posted on 1 Comment

Building my first Mobile App – Part 1: Setting up using React Native and Expo

React Native 1

Part 1: Setting up using React Native and ExpoPart 2: Ditching ExpoPart 3: Adding authentication with firebase So, for my next project, I’ve decided to build a mobile app. The (tentative) name of the app is Keep UP. It is a Personal Relationship Management tool to helps you keep up with friends & family. Here’s how it is meant to work: The user adds a contact. Mostly just the name.The user can add a note about the contact.The…

Read more

Posted on 1 Comment
Posted on Leave a comment

Better scheduling in Go

In a lot of situations, we would like to be able to schedule functions in Go. While there are many current tools for doing scheduling (such as Cron), I would much prefer if the entire working of my program was contained in the same code/binary and I did not have to go to the system crontab to discover what is going on. Thankfully, the time standard library already comes with A LOT of tools to schedule events. Let’s look at…

Read more

Posted on Leave a comment
Posted on Leave a comment

Implementing an Event Driven System in Go

Events in Go

In this post, we will implement an event driven system in Go. We are going to imagine a fictional application where we want to send out events for when a new account is created and another for when an account is deleted. Let’s assume that the current structure of our program looks like this: working-dir | |__auth.go/ | |__auth.go | |__main.go |__go.mod |__go.sum We would like this system to: Be type safe. No interface{}, no need…

Read more

Posted on Leave a comment
Posted on Leave a comment

Tailwind CSS: Getting Set Up in Minutes

Tailwind CSS Logo

Tailwind CSS is a great CSS framework. Utility first, fully customizable and just a pleasure to use. I had been seeing it around and wanted to try it myself, however the set up instructions can feel a bit tedious, especially if you’re not familiar with all the front-end build tools and CSS preprocessors. So, after going through it myself, I decided to write a guide on the fastest way to set up Tailwind CSS. Prerequisites…

Read more

Posted on Leave a comment
Posted on Leave a comment

Loops in Go

Loops in Go

There is only one keyword to perform loops in Go: for. The implementation is very flexible. In this article, we’ll consider the various ways to use it. If you’re interested in the details, you should definitely go through the official specification. For loops in Go First, let’s see how to replicate the common C-style for loop. In Go, it works similar to other languages. We supply 3 statements after the keyword. The first is an…

Read more

Posted on Leave a comment
Posted on 4 Comments

Docker Volumes: A Comprehensive Introduction

Docker volume

Docker volumes are very useful when we need to persist data in Docker containers or share data between containers. Docker volumes are important because when a Docker container is destroyed, it’s entire file system is destroyed too. So if we want to keep this data, it is necessary that we use Docker volumes. Docker volumes are attached to containers during a docker run command by using the -v flag When Docker Volumes are needed Let’s…

Read more

Posted on 4 Comments
Posted on Leave a comment

Building a CI/CD Bot with Slack and Kubernetes ― GopherAcademy

This article is about an experiment at Africa’s Talking on using Slack to manage our deployment process. Like many companies, we use Kubernetes to manage our deployments, and Slack for internal communications. We decided to investigate how we can use Slack to improve our deployment process and structure the communications needed for a deployment. Source: Building a CI/CD Bot with Slack and Kubernetes

Read more

Posted on Leave a comment
Posted on Leave a comment

How to build a telegram bot using Node.js and Now

Serverless deployment, the intriguing topic grabbing a lot of attention from rookies and veterans alike in the tech ecosystem is finally here. In this article we’ll be taking a practical approach to serverless deployment, also referred to as FaaS (Function as a Service). Serverless architecture, simply put is a way to build and run applications and services without managing server in infrastructure. Practical approach? We’ll be building a telegram weather bot using node.js, which will…

Read more

Posted on Leave a comment