{"id":19656219,"url":"https://github.com/daggerok/sql-with-kotlin","last_synced_at":"2026-04-09T20:04:04.416Z","repository":{"id":151042135,"uuid":"498874870","full_name":"daggerok/sql-with-kotlin","owner":"daggerok","description":"This repository demonstrates one of many options to work in kotlin with MySQL: Spring Boot, Testcontainers, MySQL, Exposed","archived":false,"fork":false,"pushed_at":"2022-06-01T20:04:02.000Z","size":63,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-10T00:41:42.233Z","etag":null,"topics":["exposed","github-actions","kotlin","maven","mysql","spring-boot","testcontainers"],"latest_commit_sha":null,"homepage":"","language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/daggerok.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-06-01T19:38:05.000Z","updated_at":"2022-06-01T19:38:55.000Z","dependencies_parsed_at":null,"dependency_job_id":"a36e3534-c9c5-4590-8935-e9c39a5b33bb","html_url":"https://github.com/daggerok/sql-with-kotlin","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daggerok%2Fsql-with-kotlin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daggerok%2Fsql-with-kotlin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daggerok%2Fsql-with-kotlin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daggerok%2Fsql-with-kotlin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/daggerok","download_url":"https://codeload.github.com/daggerok/sql-with-kotlin/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240964582,"owners_count":19885767,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["exposed","github-actions","kotlin","maven","mysql","spring-boot","testcontainers"],"created_at":"2024-11-11T15:27:04.994Z","updated_at":"2026-04-09T20:04:04.378Z","avatar_url":"https://github.com/daggerok.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# sql-with-kotlin [![tests](https://github.com/daggerok/sql-with-kotlin/actions/workflows/tests.yml/badge.svg)](https://github.com/daggerok/sql-with-kotlin/actions/workflows/tests.yml)\nThis repository demonstrates one of many options to work in kotlin with MySQL: Spring Boot, Testcontainers, MySQL, Exposed\n\n```bash\n./mvnw\n```\n\n\u003c!--\n\n```bash\n./mvnw -f docker -P down ; ./mvnw -f docker -P up ; ./mvnw -f docker -P logs \u0026   \n```\n\nor\n\n```bash\nif [[ \"\" != `docker ps -aq` ]] ; then docker rm -f -v `docker ps -aq` ; fi ;\n\ndocker run --rm --name mysql --platform linux/x86_64 \\\n           --health-cmd='mysqladmin ping -h 127.0.0.1 -u $MYSQL_USER --password=$MYSQL_PASSWORD || exit 1' \\\n           --health-start-period=1s --health-retries=1111 --health-interval=1s --health-timeout=5s \\\n           -e MYSQL_USER=user -e MYSQL_PASSWORD=password \\\n           -e MYSQL_DATABASE=database -e MYSQL_ROOT_PASSWORD=password \\\n           -p 3306:3306 \\\n           -d mysql:8.0.24 ;\n\nwhile [[ $(docker ps -n 1 -q -f health=healthy -f status=running | wc -l) -lt 1 ]] ; do sleep 3 ; echo -n '.' ; done ; sleep 15; echo 'MySQL is ready.'\n```\n--\u003e\n\n### Reference Documentation\n* [Official Apache Maven documentation](https://maven.apache.org/guides/index.html)\n* [Spring Boot Maven Plugin Reference Guide](https://docs.spring.io/spring-boot/docs/2.7.0/maven-plugin/reference/html/)\n* [Create an OCI image](https://docs.spring.io/spring-boot/docs/2.7.0/maven-plugin/reference/html/#build-image)\n* [Testcontainers](https://www.testcontainers.org/)\n* [Spring Configuration Processor](https://docs.spring.io/spring-boot/docs/2.7.0/reference/htmlsingle/#appendix.configuration-metadata.annotation-processor)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdaggerok%2Fsql-with-kotlin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdaggerok%2Fsql-with-kotlin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdaggerok%2Fsql-with-kotlin/lists"}