Skip to content

Latest commit

 

History

History
13 lines (10 loc) · 1.35 KB

README.md

File metadata and controls

13 lines (10 loc) · 1.35 KB

CreateReactApp + Netlify + Astra DB Collections

This is an example React user guide application using a DataStax Astra free tier database.

Quick Start

  1. Create an Astra DB Database or use an existing one.
  2. Create an Astra DB Keyspace called sag_todo_jamstack in your database.
  3. Generate an Application Token with the role of Database Administrator for the Organization that your Astra DB is in.
  4. Once you clone this code locally you need to copy the .env.example file to a file named .env and fill the required values in from your Application Token and Astra DB connection settings.
  5. Start the example by running netflify dev in your local console.

How this works

Once the Astra DB credentials are provided, the necessary tables are created in the database. The webservice will be available on port 8888 once the application has been deployed.