Skip to content

React-built shopping list app that utilizing DataStax Astra's REST API to do CRUD operations on data that exists on a DataStax Astra database

Notifications You must be signed in to change notification settings

partisan-emo/example-DataStax-Astra-REST-API-Shopping-List

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

This repo contains a template and a completed (non-refactored) version of a very basic React shopping list app with no CSS, which uses DataStax Astra's REST API in order to do CRUD operations. This repo is strictly for demonstration purposes and may be refactored in the future to be more simplified. However for the time being, it works for our purposes in order to demonstrate DataStax Astra's REST API.

Getting Started

  1. Create your DataStax Astra Account / Database
  2. Download this notebook
  3. Drag-and-drop the downloaded notebook into DataStax Astra's Studio
  4. Run Cells 1-3, making sure the correct keyspace is selected
  5. Copy the REST API URL from the Connect page of your Astra Database
  6. Run cd Template/
  7. Run mv example.env .env
  8. Insert credentials, REST API URL, keyspace name, and table name into the .env file
  9. Run npm i
  10. Run npm start

Additional Resources

About

React-built shopping list app that utilizing DataStax Astra's REST API to do CRUD operations on data that exists on a DataStax Astra database

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 78.0%
  • HTML 13.8%
  • CSS 7.5%
  • Shell 0.7%