Skip to content

Latest commit

 

History

History
17 lines (10 loc) · 452 Bytes

ReadMe.md

File metadata and controls

17 lines (10 loc) · 452 Bytes

This is basic setup of N tier arcitecture with Gin framework.

Arch is consisted of 4 layers:

  • Controllers
  • Business
  • Services
  • Repositories
  1. Migrations are implemented with go migrate and they are executed when you build the project.
  2. GORM is used as a ORM.
  3. Entry point of the app is main.go file where everything starts. Golobby container is used to setup DI container.
  4. Unit tests are implemented for repository and service layer