Mini Map
Search
⌘ K
Log In
Building a REST App with Go, Gin, and Docker
0%
1.
Getting Started
Introduction to the Course
2.
Introduction to Basics of Go and Web Development
What is HTTP and an HTTP Web App?
Why Create an App in Go?
Some Popular Go Projects
Quick Recall of Go Concepts
Build and Run a Basic Go Program
Test Your Knowledge
3.
Building a Simple Go App
Environment Setup and Scaffolding
Package Management and Go Modules
How to Use Go Modules in a REST App
Adding Business Logic to the App
A Little About Go Web Frameworks
Creating an HTTP Server Using Gin
Adding a User Interface for This App
Test Your Knowledge
4.
Testing the App
Unit Testing in Go
Unit Testing a Web App
Testing the App Endpoints with cURL
Test Your Knowledge
5.
Dockerizing the Web App
Introduction to Containers
Containerizing Apps Using Docker
Building and Running a Docker Container from a Dockerfile
Passing Additional Configurations to Docker Containers
What is Docker Compose?
Writing a Docker Compose File for the App
Using Docker Compose to Manage a Container
Test Your Knowledge
6.
Can We Improve on the Docker Image?
How to Build Images Faster
Reducing the Size of the Image Using Multistage Builds
7.
Making the App Production Ready
What Else Does It Take to Make an App Production Ready?
Adding Logs in the App
Log Levels and Structured Logging
Managing Logs with Docker Volumes
Testing the Finished App Locally
Test Your Knowledge
8.
Summary
Recap
9.
Appendix
Setting up a Local Environment for Developing Apps in Go
Setting up Docker and Docker Compose
Enable Caching in CI Builds
Home
/
Courses
/
Building a REST App with Go, Gin, and Docker
Test Your Knowledge
Test what you have learned in this chapter with a quiz.
We'll cover the following...
...