Rwatana / BlogService

0 stars 0 forks source link

[Refactoring] Define and Implement Infrastructure Layer Components for MySQL and Logging Repository #30

Open Rwatana opened 2 months ago

Rwatana commented 2 months ago

Background

The objective of this issue is to implement the infrastructure layer, which includes MySQL database connections and the concrete implementation of the logging repository. This layer will provide the necessary data access and persistence mechanisms to support the domain models and interfaces defined in the domain layer.

Goal

Define and implement the MySQL database connection and logging repository components. This issue will be closed when:

Approach

Overview (What, How)

  1. Database Connection: Create the connect_db.go file to set up and manage MySQL database connections.
  2. Repository Implementation: Implement the logging_repositry.go file to provide concrete implementations of the repository interfaces defined in the domain layer.

Todo

Deadline

28/9/2024

Rwatana commented 2 months ago

https://zenn.dev/yuki_tu/articles/8def6851273424