{"id":19656809,"url":"https://github.com/daggerok/datastax-astra-db-spring-boot-app","last_synced_at":"2026-04-21T10:02:00.945Z","repository":{"id":151041493,"uuid":"433616220","full_name":"daggerok/datastax-astra-db-spring-boot-app","owner":"daggerok","description":"Spring Data Cassandra + Datastax Astra DB","archived":false,"fork":false,"pushed_at":"2021-11-30T23:16:17.000Z","size":54,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-27T02:24:07.866Z","etag":null,"topics":["aastra-db","astra","cassandra","cassandra-database","datastax","datastax-astra","datastax-astra-db","datastax-cassandra-driver","spring-boot","spring-data","spring-data-astra","spring-data-astra-db","spring-data-cassandra","spring-data-cassandra-astra","spring-data-datastax"],"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":"2021-11-30T23:13:53.000Z","updated_at":"2021-11-30T23:18:32.000Z","dependencies_parsed_at":null,"dependency_job_id":"617cf3a4-641f-4b7f-a356-da006c3955dc","html_url":"https://github.com/daggerok/datastax-astra-db-spring-boot-app","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/daggerok/datastax-astra-db-spring-boot-app","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daggerok%2Fdatastax-astra-db-spring-boot-app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daggerok%2Fdatastax-astra-db-spring-boot-app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daggerok%2Fdatastax-astra-db-spring-boot-app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daggerok%2Fdatastax-astra-db-spring-boot-app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/daggerok","download_url":"https://codeload.github.com/daggerok/datastax-astra-db-spring-boot-app/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daggerok%2Fdatastax-astra-db-spring-boot-app/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32086815,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-21T06:27:27.065Z","status":"ssl_error","status_checked_at":"2026-04-21T06:27:21.250Z","response_time":128,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["aastra-db","astra","cassandra","cassandra-database","datastax","datastax-astra","datastax-astra-db","datastax-cassandra-driver","spring-boot","spring-data","spring-data-astra","spring-data-astra-db","spring-data-cassandra","spring-data-cassandra-astra","spring-data-datastax"],"created_at":"2024-11-11T15:28:58.117Z","updated_at":"2026-04-21T10:02:00.917Z","avatar_url":"https://github.com/daggerok.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Spring Data Cassandra + DataStax Astra DB\n\n* SignUp / SignIn in [Datastax Astra](https://astra.datastax.com/) to get your DB for free\n* Create `datastax_astra_db_spring_boot_app_database` database with `datastax_astra_db_spring_boot_app_keyspace` keyspace\n* Click connect on your database\n* Chose `Java` in `Connect using a driver` section\n* Click `Download Bundle` button and save zip archive as `src/main/resources/secure-connect-datastax-astra-db-spring-boot-app-database.zip`\n* Create token for `Administrator User`, grab your `ClientID` and `ClisentSecret`\n* Add `src/main/resources/application-datastax.properties` file with content:\n  ```properties\n  datastax.astra.secure-connect-bundle=/path/to/project/src/main/resources/secure-connect-datastax-astra-db-spring-boot-app-database.zip\n  datastax.astra.client-id=$yourClientID\n  datastax.astra.client-secret=$yourClientSecret\n  datastax.astra.keyspace=datastax_astra_db_spring_boot_app_keyspace\n  ```\n* Add dependency to your `pom.xml` file:\n  ```xml\n  \u003cdependency\u003e\n    \u003cgroupId\u003ecom.datastax.oss\u003c/groupId\u003e\n    \u003cartifactId\u003ejava-driver-core\u003c/artifactId\u003e\n    \u003cversion\u003e4.13.0\u003c/version\u003e\n  \u003c/dependency\u003e\n  ```\n* Run app:\n  ```bash\n  mvn compile spring-boot:run\n  ```\n* Post few messages and load them via rest api\n  ```bash\n  http :8080/api/v1/messages content=Hello,\\ World\\!\n  http :8080/api/v1/messages content=Hello,\\ again...\n  http :8080/api/v1/messages\n  ```\n* Done\n\n## RTFM\n* youtube.com/watch?v=nBoHQOcwPS4\n* https://github.com/DataStax-Examples/spring-petclinic-reactive\n* https://github.com/DataStax-Examples/getting-started-with-astra-java\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.6.1/maven-plugin/reference/html/)\n* [Create an OCI image](https://docs.spring.io/spring-boot/docs/2.6.1/maven-plugin/reference/html/#build-image)\n* [Coroutines section of the Spring Framework Documentation](https://docs.spring.io/spring/docs/5.3.13/spring-framework-reference/languages.html#coroutines)\n* [Thymeleaf](https://docs.spring.io/spring-boot/docs/2.6.1/reference/htmlsingle/#boot-features-spring-mvc-template-engines)\n* [Spring Data Reactive for Apache Cassandra](https://docs.spring.io/spring-boot/docs/2.6.1/reference/htmlsingle/#boot-features-cassandra)\n* [Handling Form Submission](https://spring.io/guides/gs/handling-form-submission/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdaggerok%2Fdatastax-astra-db-spring-boot-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdaggerok%2Fdatastax-astra-db-spring-boot-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdaggerok%2Fdatastax-astra-db-spring-boot-app/lists"}