Build an Astra DB RPG
30 minutes, Advanced, Start Building
This example is a simple RPG application that allows you to add skills and allocate skill points to them, gaining you experience and levels as a result.
Signup for DataStax Astra, or login to your already existing account.
Create an Astra DB Database if you don't already have one.
Create an Astra DB Keyspace called
sag_rpgin your database.
Generate an Application Token with the role of
Database Administratorfor the Organization that your Astra DB is in.
Once the app is finished launching in the Gitpod IDE, copy the
env.examplefile to a file named
.envand fill the required values in from your Application Token and Astra DB connection settings.
Start the example by running
npm run devin the Gitpod console.