https://github.com/babyfish-ct/jimmer-examples
Jimmer Examples
https://github.com/babyfish-ct/jimmer-examples
Last synced: 6 months ago
JSON representation
Jimmer Examples
- Host: GitHub
- URL: https://github.com/babyfish-ct/jimmer-examples
- Owner: babyfish-ct
- Created: 2024-01-12T19:15:48.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-04-10T18:50:01.000Z (6 months ago)
- Last Synced: 2025-04-10T20:00:10.237Z (6 months ago)
- Language: Java
- Size: 2.66 MB
- Stars: 26
- Watchers: 2
- Forks: 7
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Jimmer Examples
English | [中文](./README_zh_CN.md)
## Sub-directories
This is a collection of examples for [Jimmer](https://github.com/babyfish-ct/jimmer), containing the following 4 sub-directories:
|Sub-directory|Description|
|---|---|
|[java](./java/)|Examples in Java|
|[kotlin](./kotlin/)|Examples in Kotlin|
|[rest-client](./rest-client/)|[java/jimmer-sql/](./java/jimmer-sql/) and [kotlin/jimmer-sql-kt/](./kotlin/jimmer-sql-kt/) are two examples of building REST services using Jimmer. Jimmer can automatically generate TypeScript code required by the web client *([documentation link](https://babyfish-ct.github.io/jimmer-doc/docs/client/))*. This is a React-based web application that demonstrates how to use the automatically generated TypeScript code by Jimmer.|
|[env-with-cache](./env-with-cache/)|Jimmer supports powerful caching *([documentation link](https://babyfish-ct.github.io/jimmer-doc/docs/cache/))*. Developers can specify a Spring profile to run [java/jimmer-sql/](./java/jimmer-sql/), [kotlin/jimmer-sql-kt/](./kotlin/jimmer-sql-kt/), [java/jimmer-sql-graphql/](./java/jimmer-sql-graphql/), or [kotlin/jimmer-sql-graphql-kt/](./kotlin/jimmer-sql-graphql-kt/) with caching support. In this running mode, these examples require an external environment, and this sub-directory is the installation directory for those external environments.|For more details, please refer to the descriptions in the respective sub-directories.
## All Examples
Java
Kotlin
Description
Importance
java/jimmer-core
kotlin/jimmer-core-kt
ORM-independent examples, showcasing immer-style immutable objects
★★★★
java/jimmer-simple
kotlin/jimmer-simple-kt
Using unconditional queries as an example to demonstrate the simplest way to use Jimmer ORM
★★★★★
java/jimmer-sql
kotlin/jimmer-sql-kt
Quickly build REST services using Jimmer. This example showcases most of Jimmer's features and is the most important and fundamental example
★★★★
java/jimmer-sql-graphql
kotlin/jimmer-sql-graphql-kt
Quickly build GraphQL services using Jimmer
★★
java/jimmer-cloud
kotlin/jimmer-cloud-kt
A microservices project based on Spring Cloud, showcasing Jimmer's remote association
★
java/save-command
kotlin/save-command-kt
A dedicated example for save commands
★★★