Test-driven Development of Go Web Applications with Gin
Dive back into Go and Gin, and find out how to further test and develop your real-world application.
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 application to give you a clear idea of how to build real world applications using Gin and Go.
Goals
By the end of this tutorial, you will:
- Learn how to add authentication to a web application built using Gin,
- Learn how to add authorization to a web application built using Gin, and
- Learn how continuously build and test this application
Prerequisites
For this tutorial, you will need:
- To have gone through the first part of the tutorial, and
- Go installed on your machine.