🚀 Get 25% off access to all my premium courses - use discount code FUNCMAIN at checkout - view the pricing page now!
In this video, we'll look at how we can start defining our comment package and service definition.
Currently, the API returns the string representation of the Go objects. In this video, we look at how you can encode this into JSON and also how you can decode the body of incoming requests into Go objects.
In this video, we'll look at how we can define a simple database package that will handle connecting to the database.
In this video, we'll be defining the HTTP endpoints that are effectively going to expose the our comment service.
In this video, we'll look at how we can implement the methods for the comment service we defined in the previous video.
We need a database running in order for us to store our comments. In this video, we look at how you can run postgres locally with docker
So, we have our basic app structure defined, let's start looking at how we can build out the server aspect and start serving some basic endpoints.
In this video, we are going to look at how you can effectively add integration tests around your db layer.
In this video, we are going to be covering the topic of JSON input request validation for your Go services.