go-products-example-ddd

module
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 5, 2022 License: MIT

README ΒΆ

go-products-example-ddd


DDD version of Go application created with Gin and Gorm basicly.
Previous version of application -> https://github.com/berkayersoyy/go-products-example

Project Structure

pkg
β”œβ”€β”€ application
|   β”œβ”€β”€ util
|   └── services *
β”œβ”€β”€ domain                    
└── infrastructure
|   β”œβ”€β”€ dynamodb
|   β”œβ”€β”€ mysql
|   └── redis
|
└── presentation
    β”œβ”€β”€ http
    └── middleware

πŸš€ Building and Running for Production

  1. Follow these steps to get your development environment set up:

  2. At the root directory which include docker-compose.yml files, run below command:

     docker-compose up -d --build
    
  3. You can launch application as below url:

Directories ΒΆ

Path Synopsis
Package docs GENERATED BY SWAG; DO NOT EDIT This file was generated by swaggo/swag
Package docs GENERATED BY SWAG; DO NOT EDIT This file was generated by swaggo/swag
mocks
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL