Skip to content

jamesc127/astradb-documentapi-golang

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Astra Logo

Loading JSON data with DataStax Astra and Stargate

Stargate is an open-source API framework for data. This demo will show how we can quickly spin up an Apache Cassandra cluster on DataStax Astra with the Stargate Document API enabled and load JSON documents. Stargate's document API enables users to use Apache Cassandra as a schemaless document database.

Stargate

wAiT... wHaT??

Create a document collection on write and load JSON data completely schemaless! On Apache Cassandra! You can use this demo to illustrate loading JSON data of differing shapes and depths into the same "table" and query on a common (or not common) attribute!

Document API & Golang

Golang

This updated demo is adapted into Golang from my other repo that used Java.

Get Started!

  1. Create an Astra Serverless database
  2. Create an Application Token for your database to use in authentication.
  3. Put your database UUID, cloud region, application token, and keyspace name into the struct variables
  4. Run the example program!

Software Test

Contribution and Feedback

The Stargate community needs you! Please consider contributing to the community, submitting feature requests, filing bugs, and developing your own API's!

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages