This example will is a simple RPG application that allows you to add skills and allocation skill points to them, gaining you real experience and levels as a result.
- Create your own RPG app by cloning the project
- Learn about Astra DB with webapp development
- Use React with state and props
- Use Netlify to create a simple API
The requirements needed are quite simple, which include an account for Astra DB (free), having Netlify CLI.
Register a DataStax Astra account Github
, Google
accounts or register with an email
.
Create a database with a keyspace of rpg
Once the database is created and the status is active Active
we can move onto the next step.
Create a security token for with Database Permissions and use the keys to populate the .env-template
file which should be renamed to .env
.
Ensure Netlify is installed, if it is not, install the CLI by running the following command:
npm install -g netlify-cli
Then you can run the application locally using
netlify dev