Skip to content

Latest commit

 

History

History
47 lines (39 loc) · 1.92 KB

README.en.md

File metadata and controls

47 lines (39 loc) · 1.92 KB

freedom

License Go Report Card Build Status GoDoc

Freedom is a DDD Web framework, which could support Hexagonal Architecture and paradigm of rich models.

Overview

  • Based on Iris
  • Prometheus Integration
  • GORM
  • Tracing
  • Component-based container of infrastructure
  • HTT2 Server & Client
  • Dependency Injection
  • Dependency Inversion
  • CRUD Template Code Generation
  • Events of Message & Domain, Auto Retry...

Install

$ go get github.com/8treenet/freedom/freedom

Create Project

$ freedom new-project [project-name]

Generate CRUD Objects & Values

# Edit [project-name]/cmd/conf/db.toml # Fill database connetion
# Configurable configure path & output path
# freedom new-crud -h # To get more help
$ cd [project-name]
$ freedom new-crud

Example

A complete e-commerce project, including CQRS, aggregation, entities, domain events, warehouses, and infrastructure.

Todo

  • XA Transaction