Skip to content

Latest commit

 

History

History
20 lines (16 loc) · 1.14 KB

File metadata and controls

20 lines (16 loc) · 1.14 KB

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