Skip to content

πŸš€ Starter project Golang dengan Echo framework untuk membangun RESTful API dengan arsitektur clean (handler, usecase, repository, service).

Notifications You must be signed in to change notification settings

HasanFdlh/golang-with-echo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

5 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Golang with Echo – Starter Project

Project ini adalah boilerplate/service starter berbasis Golang + Echo dengan integrasi ke PostgreSQL, Redis, dan MinIO.
Cocok untuk microservice atau REST API modern dengan dependency yang umum dipakai.


πŸ›  Tech Stack

  • Golang: go1.23.2 windows/amd64
  • Echo: web framework ringan & cepat
  • GORM: ORM untuk PostgreSQL
  • PostgreSQL: database relasional
  • Redis: in-memory cache & message broker
  • MinIO: object storage (S3 compatible)
  • Docker: untuk container service
  • lumberjack: log rotation per hari

πŸ“‚ Struktur Project

.
β”œβ”€β”€ config/         # konfigurasi (DB, Redis, MinIO, Logger)
β”œβ”€β”€ internal/
β”‚   β”œβ”€β”€ handler/    # HTTP handler (Echo)
β”‚   β”œβ”€β”€ model/      # Model GORM
β”‚   β”œβ”€β”€ repository/ # Repository (DB access)
β”‚   β”œβ”€β”€ service/    # Business logic service
β”‚   └── usecase/    # Use case orchestration
β”‚   └── migration/  # AutoMigrate DB
β”‚   └── routes/     # Routing Echo
β”œβ”€β”€ main.go         # Entry point
└── go.mod

About

πŸš€ Starter project Golang dengan Echo framework untuk membangun RESTful API dengan arsitektur clean (handler, usecase, repository, service).

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages