mm
Kulshekhar Kabra

Kulshekhar is an independent full stack engineer with 10+ years of experience in designing, developing, deploying and maintaining web applications.

Posts by: Kulshekhar Kabra

Packaging and Deploying Go Applications to AWS using Semaphore

Introduction This tutorial will illustrate how you can use AWS CodeDeploy, a scalable deployment service offered by AWS that lets you automate your deployment process. We will package and continuously deploy a Go application to an EC2 instance. The tutorial will use a sample application and walk you through the process of updating your existing setup, to allow for the continuous deployment of your application. Goals By the end of…

Building and Testing a REST API in Go with Gorilla Mux and PostgreSQL

Introduction This tutorial will illustrate how you can build a REST API backed by PostgreSQL in Go, using Gorilla Mux for routing. The tutorial will employ test-driven development and will conclude by explaining how you can continuously test against a database during development. Goals By the end of this tutorial, you will: Become familiar with Gorilla Mux, and Learn how to continuously test your application against a database. Prerequisites This…

Getting Started with BDD in Go Using Ginkgo

Introduction Over the past few years, Go has developed into the language of choice for many types of applications. Its popularity can be attributed to several factors, out of which its testing story is a prominent one. Out of the box, Go comes with a great package for testing. This tutorial will explain how you can incorporate behavior-driven development with Go using Ginkgo, with the help of a sample application.…

Test-driven Development of Go Web Applications with Gin

Introduction This the second part of the tutorial on building traditional web applications and microservices in Go using the Gin framework. In the first part of the tutorial, we set up a project and built a simple application using Gin that displayed a list of articles and the article details page. This part of the tutorial will add functionality like user registration, login, logout, article submission and authentication to the…

Building Go Web Applications and Microservices Using Gin

Introduction In this tutorial, you will learn how to build traditional web applications and microservices in Go using the Gin framework. Gin is a framework which reduces boilerplate code that would normally go into building these applications. It also lends itself very well to creating reusable and extensible pieces of code. This part of the tutorial will help you set up your project and build a simple application using Gin…

How to Perform Integration Testing on Go Applications with Docker

Introduction One of the reasons behind the popularity of Go is its testing story. Go comes with a lightweight test framework that makes it trivial to write different kinds of tests. In this tutorial, you will learn how to perform integration testing with Go. We will create a sample application, which will make use of another microservice written in Go. The integration tests will test the interaction between the application…

How To Deploy a Go Web Application with Docker

Introduction While most Go applications compile to a single binary, web applications can also have template and configuration files. Whenever there are a lot of files in a project, errors can arise due to some of them being out of sync and create a lot of issues. In this tutorial, you will learn how to deploy a Go web application with Docker, and how Docker can help improve your development…