Skip to content

Companion code for the Java Brains "code with me" series that reads data from DataStax Astra DB.

License

Notifications You must be signed in to change notification settings

DataStax-Examples/betterreads-webapp

 
 

Repository files navigation

BetterReads Spring App

180 minutes, Advanced, Start Building

Companion code for the Java Brains "code with me" series that reads data from DataStax Astra DB. The video series is located here

image

Quick Start

  • Create an Astra DB Keyspace called sag_betterreads in your database.
  • Generate an Application Token with the role of Database Administrator for the Organization that your Astra DB is in.
  • Click the 'Open in Gitpod' link: Open in IDE
  • Once the app is finished launching in the Gitpod IDE, copy the env.example file to a file named .env and fill the required values in from your Application Token and Astra DB connection settings.
  • Activate your environment settings by running source .env in the Gitpod console.
  • Get your secure connect bundle from the connect page of your database and upload it to your Gitpod instance. Rename it to secure-connect.zip
  • Move your secure-connect.zip to src/main/resources in the Gitpod file explorer.
  • Start the example by running ./mvnw spring-boot:run in the Gitpod console.

Objectives

  • Follow along with the Java Brains "code with me" series. The video playlist is located here.

How this works

Once the Astra DB credentials are provided, BetterReads can connect to Astra DB.

About

Companion code for the Java Brains "code with me" series that reads data from DataStax Astra DB.

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 66.2%
  • HTML 33.8%