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.
- Create your DataStax Astra Account / Database
- Download this notebook
- Drag-and-drop the downloaded notebook into DataStax Astra's Studio
- Run Cells 1-3, making sure the correct keyspace is selected
- Copy the REST API URL from the Connect page of your Astra Database
- Run
cd Template/
- Run
mv example.env .env
- Insert credentials, REST API URL, keyspace name, and table name into the
.env
file - Run
npm i
- Run
npm start
- Webinar: We live demo this process and write the shopping list app using the template directory
- Accompanying Blog
- Accompanying Slideshare