Skip to content

Commit

Permalink
🌱 Update overview
Browse files Browse the repository at this point in the history
  • Loading branch information
dumindu committed Oct 30, 2023
1 parent 4437b90 commit 37f4d2c
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,17 @@ title: Building a Dockerized RESTful API application in Go
slug: building-a-dockerized-restful-api-application-in-go
---

## πŸ‘¨β€πŸ« In this section...

In this section, we build a Dockerized RESTful API application in Go for a simple bookshelf with the following steps:

- We'll start with the `net/http` package from the Go standard library, create a basic server application, and Dockerize it.
- Then, we'll add a database, create DB migration SQL files, and create the `migrate` app to run these migration files.
- Next, we'll add dynamic application configurations via environment variables.
- After that, we'll integrate Chi and add API routes and middleware.
- Then, we'll integrate Zerolog and implement request logs.
- Next, we'll integrate Gorm and add repository functions.
- Then, we'll complete our RESTful APIs.
- Later on, we'll integrate Validator v10 and add form validations.
## πŸ‘¨β€πŸ« In this series...

In this series, we build a Dockerized Go RESTful API for a bookshelf with these steps:

- Create a basic server using Go's `net/http` package and Dockerize it.
- Add the database, SQL migration files, and create the `migrate` app to run these migration files.
- Implement dynamic application configurations via environment variables.
- Integrate Chi, add initial API routes, and generate OpenAPI specifications.
- Integrate GORM, implement repository functions with tests, and invoke repository from the handlers.
- Enhance error handling and integrate Validator v10 for form validations.
- Implement error logs and request logs via Zerolog.


## πŸ“¦ The codebase
Expand Down
3 changes: 2 additions & 1 deletion data/en/docs/sidebar.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
pages:
- title: Overview

- title: Building an API application (Draft)
- title: Building a Dockerized RESTful API (New)
replaceFirstPageTitle: Overview
pages:
- title: Building a Dockerized RESTful API application in Go
- title: Hello World server
Expand Down

0 comments on commit 37f4d2c

Please sign in to comment.