DataStax News: Astra Streaming now GA with new built-in support for Kafka and RabbitMQ. Read the press release.

Toggle Menu

Stargate JS SDK

BattleStax: Creating a Serverless REST Endpoint.


Interested in seeing a real application leveraging Stargate APIs on DataStax Astra? Welcome to BattleStax, a JAMStack game that uses Stargate, Netlify functions, Astra, and GitHub to demonstrate how to build and deploy an application using modern, scalable architectures.

Before we begin

As a prerequisite, be sure to setup an Astra account and create a Cassandra as a Service database at

In this scenario we will:

  • Create a mock serverless REST endpoint that exposes a document API
  • Create an insertGame endpoint and connect to Astra
  • Run TDD tests

Let's learn how to create serverless endpoints using Netlify functions in a development environment.


Time to Complete