Datastax

Examples

Search through our library of code and applications to help you get things done faster with DataStax and Apache Cassandra.

Visit us on Github

Example of the Week

Spring Pet Clinic Reactive

Spring Pet Clinic Reactive

This week’s example is a new reactive implementation of the Spring Pet Clinic backend that uses Spring WebFlux and Cassandra (via DataStax Astra).

Go to github

Our Most Popular Examples

Spring Data Cassandra REST API

This application uses Spring Data Cassandra and DataStax Astra to build a REST API for a backend service that interacts with products and orders.

Go to GitHub

Next.js/Astra Starter

A sample Next.js, DataStax Astra starter app.

Go to GitHub

Microservices with Spring, Kubernetes, and Cassandra

This example contains sample inventory microservices to demonstrate how to use Spring, Kubernetes and Cassandra together a single stack.

Go to Github

Filter by

  • Products
  • Language
Clear All

CRUD operations with NodeJS and Python

This example walks through the basics of connecting, updating and reading records from Astra in NodeJS and Python.

By: Bettina Swynnerton

Last updated: Oct 14, 2020

Spring Pet Clinic Reactive

Reactive version of Spring PetClinic sample application

By: Cedrick Lunven

Last updated: Oct 2, 2020

Next.js/Astra Starter

A sample Next.js, DataStax Astra starter app.

By: Alex Leventer

Last updated: Aug 28, 2020

Demonstrate All Astra APIs

Data in the Astra DBaaS can be accessed using four different APIs (so far).

By: Kiyu Gabriel

Last updated: Aug 22, 2020

Spring Data Cassandra REST API

This application uses Spring Data Cassandra and DataStax Astra to build a REST API for a backend service that interacts with products and orders.

By: Chris Splinter

Last updated: Aug 20, 2020

Astra/Gatsby.js Starter

A sample React, Typescript, DataStax Astra, Gatsby.js app starter app.

By: Alex Leventer

Last updated: Aug 6, 2020

JAMStack + Netlify + Astra + Cassandra Example

This is an example React To-Do application using a DataStax Astra free tier database.

By: Sebastian Estevez

Last updated: Jul 31, 2020

Query Diagnostics

A simple example of reading and writing to a Cassandra database cluster while giving a window into the internal routing and execution tracing within the cluster.

By: Jeremy Hanna

Last updated: Jul 29, 2020

Microservices with Spring, Kubernetes, and Cassandra

This example contains sample inventory microservices to demonstrate how to use Spring, Kubernetes and Cassandra together a single stack.

By: Cedrick Lunven

Last updated: Jul 16, 2020

Getting Started with Apache Cassandra™ and Python using DataStax Astra

This sample Python backend provides a REST API service that is used with the Getting Started with Astra UI to show a simple example of how to connect to and query DataStax Astra databases.

By: Chris Splinter

Last updated: Jun 24, 2020

Getting Started with Apache Cassandra™ and Java using DataStax Astra

Example REST API in Java showing how to connect to and query DataStax Astra databases

By: Cedrick Lunven

Last updated: Jun 22, 2020

Getting Started with DataStax Astra - UI

 This front end is meant to be used with one of the following backends Getting Started with DataStax Astra backends: Java, Python, C#.

By: Chris Splinter

Last updated: Jun 9, 2020