This repo contains CloudWeGo demos with business logic, providing valuable references for enterprise user using in production.
Each demo should/may contain multiple CloudWeGo subprojects, e.g. Kitex & Hertz, and demonstrate an individual business scenario.
Rewrite Bookinfo project using hertz, kitex, same as the Bookinfo
The application displays information about a book, similar to a single catalog entry of an online book store. Displayed on the page is a description of the book, book details (ISBN, number of pages, and so on), and a few book reviews.
The Bookinfo application is broken into four separate microservices:
istiod as xDS server for CRD configuration and distributionwire for dependency injectionopentelemetry for tracingflow lane with Kitex-xds and opentelemetry baggagearco-design reactGo using kitex?The application demonstrates the usage of kitex generic call.
generic call client for each backend server by traversing IDL in Hertz./gateway .Gateway handler will process these requests and route them to backend server by generic call client.payment server is just a sample server using kitex.This service design pkg with Clean Structure.Hertz as Gateway.Kitex generic call client route requests.Kitex as RPC framework to build micro-services.Clean Architecture for design pkg and code layout.ent entity framework for implementing repository.wire for dependency injectionNacos as service registry.MySQL as RDBMS.Migrate easy_note and optimize the project.
The application shows a note service that allows users to create, delete, update, and query notes.
The easy_note application is divided into three microservices:
hz and kitex to generate coderequestid, jwt, pprof, gzip middlewaresgo-tagexpr and thrift-gen-validator for validating HTTP and RPC requestobs-opentelemetry for tracingetcd as service registry.GORM for implementing repository.MySQL as RDBMS.ElasticSearch, Redis...) in Kitex project?The application shows an e-commerce system that includes merchants managing items, consumers managing personal accounts and placing orders to buy items.
The book-shop application is divided into four microservices:
Hertz as Gateway.Kitex as RPC framework to build microservices.swagger, jwt, pprof, gzip middlewares.ETCD as service registry.MySQL as RDBMS.Redis as cache.ElasticSearch as search-engine.Time-sharing car rental system kit in the cloud-native era.
The FreeCar application is divided into six microservices:
hz and kitex to generate codepaseto, cors, gzip, http2, limiter, opensergo, pprof, websocket middlewaresobs-opentelemetry for tracingconsul as service registry and config center.GORM for implementing repository.MySQL as RDBMS.MongoDB as DOCDB.Redis as cache.MinIO as object storage center.RabbitMQ as MQ.arco-design react.Go
89.0%
Go Template
7.5%
Makefile
1.4%
Shell
1.3%
This repo contains CloudWeGo demos with business logic, providing valuable references for enterprise user using in production.
Each demo should/may contain multiple CloudWeGo subprojects, e.g. Kitex & Hertz, and demonstrate an individual business scenario.
Rewrite Bookinfo project using hertz, kitex, same as the Bookinfo
The application displays information about a book, similar to a single catalog entry of an online book store. Displayed on the page is a description of the book, book details (ISBN, number of pages, and so on), and a few book reviews.
The Bookinfo application is broken into four separate microservices:
istiod as xDS server for CRD configuration and distributionwire for dependency injectionopentelemetry for tracingflow lane with Kitex-xds and opentelemetry baggagearco-design reactGo using kitex?The application demonstrates the usage of kitex generic call.
generic call client for each backend server by traversing IDL in Hertz./gateway .Gateway handler will process these requests and route them to backend server by generic call client.payment server is just a sample server using kitex.This service design pkg with Clean Structure.Hertz as Gateway.Kitex generic call client route requests.Kitex as RPC framework to build micro-services.Clean Architecture for design pkg and code layout.ent entity framework for implementing repository.wire for dependency injectionNacos as service registry.MySQL as RDBMS.Migrate easy_note and optimize the project.
The application shows a note service that allows users to create, delete, update, and query notes.
The easy_note application is divided into three microservices:
hz and kitex to generate coderequestid, jwt, pprof, gzip middlewaresgo-tagexpr and thrift-gen-validator for validating HTTP and RPC requestobs-opentelemetry for tracingetcd as service registry.GORM for implementing repository.MySQL as RDBMS.ElasticSearch, Redis...) in Kitex project?The application shows an e-commerce system that includes merchants managing items, consumers managing personal accounts and placing orders to buy items.
The book-shop application is divided into four microservices:
Hertz as Gateway.Kitex as RPC framework to build microservices.swagger, jwt, pprof, gzip middlewares.ETCD as service registry.MySQL as RDBMS.Redis as cache.ElasticSearch as search-engine.Time-sharing car rental system kit in the cloud-native era.
The FreeCar application is divided into six microservices:
hz and kitex to generate codepaseto, cors, gzip, http2, limiter, opensergo, pprof, websocket middlewaresobs-opentelemetry for tracingconsul as service registry and config center.GORM for implementing repository.MySQL as RDBMS.MongoDB as DOCDB.Redis as cache.MinIO as object storage center.RabbitMQ as MQ.arco-design react.Go
89.0%
Go Template
7.5%
Makefile
1.4%
Shell
1.3%