Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zhufuyi/sponge_examples
Some examples of using sponge to develop go projects.
https://github.com/zhufuyi/sponge_examples
crud examples generator-go gin go go-examples grpc microservice restful-api rpc sponge web
Last synced: 6 days ago
JSON representation
Some examples of using sponge to develop go projects.
- Host: GitHub
- URL: https://github.com/zhufuyi/sponge_examples
- Owner: zhufuyi
- License: mit
- Created: 2023-06-04T08:08:40.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-12-04T07:47:50.000Z (18 days ago)
- Last Synced: 2024-12-04T08:34:55.519Z (18 days ago)
- Topics: crud, examples, generator-go, gin, go, go-examples, grpc, microservice, restful-api, rpc, sponge, web
- Language: Go
- Homepage: https://github.com/zhufuyi/sponge
- Size: 19 MB
- Stars: 94
- Watchers: 3
- Forks: 17
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Sponge Examples
Here are some examples of using sponge to develop go projects. [Sponge](https://github.com/zhufuyi/sponge) is a powerful development framework that integrates `code auto generation`, `gin and grpc framework`. It is provides one-stop project development (code generation, development, testing, api documentation, deployment), it greatly improves development efficiency and reduces development difficulty, develop high-quality projects with a "low code approach".
### Examples of creating a service using sponge
- [Create **web** service based on **sql** (including CRUD)](https://github.com/zhufuyi/sponge_examples/tree/main/1_web-gin-CRUD)
- [Create **grpc** service based on **sql** (including CRUD)](https://github.com/zhufuyi/sponge_examples/tree/main/2_micro-grpc-CRUD)
- [Create **web** service based on **protobuf**](https://github.com/zhufuyi/sponge_examples/tree/main/3_web-gin-protobuf)
- [Create **grpc** service based on **protobuf** ](https://github.com/zhufuyi/sponge_examples/tree/main/4_micro-grpc-protobuf)
- [Create **grpc gateway** service based on **protobuf**](https://github.com/zhufuyi/sponge_examples/tree/main/5_micro-gin-rpc-gateway)
- [Create **grpc+http** service based on **protobuf**](https://github.com/zhufuyi/sponge_examples/tree/main/_10_micro-grpc-http-protobuf)
- [Build a simple microservice cluster (multi-repo and mono-repo)](https://github.com/zhufuyi/sponge_examples/tree/main/6_micro-cluster)### Examples of developing a complete project using sponge
- [Simple community web backend service](https://github.com/zhufuyi/sponge_examples/tree/main/7_community-single)
- [Simple community web service broken down into microservice](https://github.com/zhufuyi/sponge_examples/tree/main/8_community-cluster)### Sponge+DTM distributed transaction examples
- [Service registration and discovery (consul,etcd,nacos)](https://github.com/zhufuyi/sponge_examples/tree/main/_11_sponge-dtm-service-registration-discovery)
- [Flash sale](https://github.com/zhufuyi/sponge_examples/tree/main/_12_sponge-dtm-flashSale)
- [Cache consistency (redis, mysql)](https://github.com/zhufuyi/sponge_examples/tree/main/_13_sponge-dtm-cache)
- [Simple distributed order system](https://github.com/zhufuyi/sponge_examples/tree/main/9_order-grpc-distributed-transaction)
- [E-Commerce system](https://github.com/zhufuyi/sponge_examples/tree/main/_14_eshop)