clun / cassandra.api

Open Source Application for DataStax Astra

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Leaves on DataStax Astra™ with NoSQL, and Apache Cassandra™ in the cloud!

version

Open in Gitpod

Table of Contents

  1. Astra Setup & Configuring Credentials
  2. Getting Started
    1. Running Data Migrator
    2. Node JS
    3. Python
    4. Running Unit Tests
    5. Running Admin UI

Setup

✅ Sign up

  1. Before you start using our tools, you'll need to create an account on DataStax Astra

Astra

  1. You'll then be directed to the home page. Locate the button Add Database

Astra

✅ Use the form to create new database

  • Define the free plan and and pick a region close to you

Astra

  • Fill the databases parameters.

Astra

✅ View your Database and connect

View your database. It may take 2-3 minutes for your database to spin up. You will receive an email at that point.

👁️ Expected output

Initializing

my-pic

Database is ready, notice how the status changed from pending to Active and now you now have the connect button enabled.*

  • ✅ Get the secure cloud bundle

Display the summary screen and locate the connect button.

pic

On the connect screen pick drivers

pic

Finally click the download secure bundle button to download the zip of right-click to the button to get the url

pic

  1. After, click on the link to "Download secure connect bundle" and save the zip file to the cassandra.api/astra.credentials directory of this project.

Getting Started

It's best to go through this project in the following order so you do not get confused.

First, run the data migrator to transfer data from our cassandra.api to your Astra Database.

Data Migrator

Second, setup an API so that you can communicate with your Astra database. We have 2 APIs for you to use:

Node JS

Python

Next, run this set of unit tests against your API to confirm that it is working properly.

Testing

Finally, we have Web Admin UI to visualize your Astra Database in Table Format

Admin UI


Reference Material

Cassandra.API Documentation Walkthrough

Cassandra.API Blog Post: Part 1

Cassandra.API Blog Post: Part 2

Building a REST API with DataStax Astra using Node & Python: Part 1

Building a REST API with DataStax Astra using Node & Python: Part 2

Cassandra.API Live Workshop w/DataStax

Cassandra.API Video Demo: Part 1

Cassandra.API Video demo: Part 2

About

Open Source Application for DataStax Astra


Languages

Language:JavaScript 77.6%Language:Python 19.9%Language:CSS 1.0%Language:HTML 0.9%Language:SCSS 0.4%Language:Dockerfile 0.1%Language:Shell 0.1%