RSSAmplifier

Blog

Bog's tech

Software engineering, coding tips and tricks, development on all kinds of platforms including your toaster and devops on not so fluffy clouds.

bognov.techRSS feed ↗18 posts

Latest posts

Communicating Sequential Processes in Golang

This blog post comes from a tech talk I gave internally at IKEA.I will introduce some key concepts to build a mental model to with with concurrency and then dive into Go with examples that you can find in this repo. The goal of this blog post is to r...

Popular Design Patterns: Dependency Injection, Factory, Singleton, Observer and Strategy

Patterns are everywhere This great comic is from False Knees and it illustrates that you can find patterns everywhere, you can also check out this National Graphic article. Your code base is no different. The objective of this article is to understa...

Solve graph problems with Breadth First Search (BFS) and Depth First Search (DFS) algorithms - JavaScript version

Intro There's an xkcd for everything! If you are preparing for interviews or just studying DSA you will eventually reach graph problems and then dynamic programming. This post is the step before recursion, we are going to see how BFS and DFS algorit...

Modern API design with Golang, PostgreSQL and Docker

Intro Go is a powerful language that's highly performant and it has concurrency built in the language itself making it perfect for micro services. Here we will make a small API focusing on understanding HTTP and overall API design.If you want to know...

Discovering Ruby on Rails: is it dead or alive?

It's alive BUT There are huge codebases of RoR from famous companies such as Github, Gitlab, Airbnb, Shopify, Groupon and even Twitch that are still using it. However the ecosystem is definitely in decline and companies are struggling to recruit seni...

NodeJS auth: JWT, cookies, express, mongoose and more!

Intro Here is the source code of the project from my Github. This post is part of the MERN series, if you are lost or don't feel confident I'd recommend you read through the series to get familiar with NodeJS and Express. However you will find add...

Introduction to Golang: build a mini Twitter clone

TL;DR This article is for those who want to quickly glance over Golang and build a small project, it serves as an introduction into the language. After going through the post you will know how to build a simple CRUD app and you will be somehow famili...

Software Engineering OOP principles and good practices to avoid spaghetti code

Introduction This post goes through basic concepts that every developer should know or at least be familiar with in some way or the other, it's an entry point to good practices. Most people already do all this without thinking, perhaps the post will ...

MERN Stack: test Node.js and Express with Jest

Introduction We will be using the code from the 2nd part of this series. You can find the code in this Github repository, note that you are on the testing branch. hmu @tekbog if you find any bugs or want to annoy me. About testing and QA People stil...

MERN Stack: use MongoDB with Node.js and Express through a RESTful API

Intro You will learn how to make a full RESTful API that connects with a real database. The endpoints contain all the CRUD operations and you will apply modern techniques like ES6 export modules and async/await functions, as well as the relevant libr...

MERN stack: how to build a RESTful API with Node.js and Express

MERN stack introduction MERN stack stands for MongoDB, Express, React and Node. It's widely popular due to the fact that you can use JavaScript on the backend and frontend, or TypeScript. It's also fast as scalable, with millions of developers writi...

Build a RESTful API using Spring Boot and store the data with MySQL

Introduction This guide is on how to build a full RESTful API with Spring Boot so you can make CRUD operations on MySQL database. You can find the code to the full project on my GitHub. If you are unfamiliar with Spring Boot I have better introductor...

Full Stack development in 2022: trends, frameworks and languages.

Self-update or be deprecated The tech industry is continuously evolving, changing, new tools are made every day and new frameworks are created or mass adopted. The point of this post is to glimpse at what's going on, check the current trends and wher...

How to make APIs with Spring Boot: read from a MySQL database

Before we start coding TL;DR Make a database Connect database to our project Use GET calls to read from SQL database with Spring Boot Source code on Github Architecture: For any questions you can ask me on Twitter @ tekbog Set up the database (and...

Starting with Spring Boot: how to make a RESTful GET endpoint

Disregard the Java hate wagon Java is often hated for various reasons one of them is being too verbose. However it's a great language that's continuously evolving and it's an absolute king of enterprise software, for the good or the bad. One of its ...

JavaScript Arrays 101 tips and tricks ft. LeetCode

What is LeetCode? LeetCode defines itself as LeetCode is the best platform to help you enhance your skills, expand your knowledge and prepare for technical interviews. Is it truly the best? That's debatable (I will explain in another article) how...

WordPress hosting comparison

Is WordPress good? What happens when you have an idea or side project and don't know where to start? Easy: Wordpress. WordPress is quick, cheap and easy to use. It is SEO friendly and you can build anything you want in a matter of hours. It is also ...

How to install WordPress with Plesk on DigitalOcean

This is one of the cheapest and quickest solutions to have a website up and running that contains a blog with backups and your own email. The WordPress site is hosted on DigitalOcean's virtual machine (droplet) that goes for as low as 5$/month. Dig...