Toggle Menu

Stargate JS SDK

BattleStax: Creating a Serverless REST Endpoint.

CONTRIBUTORS

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 astra.datastax.com.

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.

v3.0

Time to Complete

15

Difficulty

Intermediate

Share