Example Projects
See how to configure, start, and combine Lodsve Boot components.
Component Configuration Examples covers Lodsve properties, their defaults and units, and when they take effect.
The sample source code is located at lodsve-boot-examples/ in the main repository. Each module corresponds to an external infrastructure or business scenario.
| Example | Module | Required Services |
|---|---|---|
| Filesystem | lodsve-boot-example-filesystem | OSS, S3 or MinIO |
| MongoDB | lodsve-boot-example-mongodb | MongoDB with a default database and a named archive data source |
| MyBatis | lodsve-boot-example-mybatis | Relational databases such as MySQL |
| Redis | lodsve-boot-example-redis | Redis |
| RabbitMQ | lodsve-boot-example-rabbitmq | RabbitMQ |
| RocketMQ | lodsve-boot-example-rocketmq | RocketMQ NameServer |
| RPC | lodsve-boot-example-rpc | Server and client |
| WebMVC | lodsve-boot-example-webmvc | HTTP service |
Before running an example, open its application.yml and set the addresses, credentials, and topics for your environment.
DocsComponent Configuration ExamplesView Lodsve Boot annotated YAML configuration examples by module.DocsCore and Snowflake examplesCore and Snowflake sample YAML configuration examples.DocsCountdown exampleCountdown YAML configuration example.DocsEncryption configuration exampleEncryption configuration example YAML configuration example.DocsEvent exampleEvent example YAML configuration example.DocsFile System ExampleFile System sample YAML configuration example.DocsFilesystem exampleExample upload, download, and storage configurations for the File System Starter.DocsMessaging ExamplesHow to start RabbitMQ and RocketMQ producers and consumers.DocsMongoDB exampleYAML configuration for MongoDB default client and multiple named data sources.DocsMyBatis exampleMyBatis YAML configuration example.DocsMyBatis exampleHow Repositories, entities, and query objects are combined.DocsRabbitMQ exampleRabbitMQ sample YAML configuration example.DocsRDBMS and Druid examplesRDBMS and Druid sample YAML configuration example.DocsRedis exampleRedis sample YAML configuration example.DocsRocketMQ exampleRocketMQ sample YAML configuration example.DocsRPC exampleCall sample services via OpenFeign and Nacos.DocsSwagger exampleSwagger YAML configuration example.DocsWebMVC exampleWebMVC YAML configuration example.
