Geospatial data store based on Astra and Stargate leveraging both the keyspace and document APIs.
Awesome C*aaS and API interfaces for powering the data layer behind our application.
-
Create an Astra Database
-
Take note of the Database ID, Region, Username and Password
-
Export these values for the backend to use later
export ASTRA_DATABASE_ID=00000000-0000-0000-0000-000000000000 export ASTRA_REGION=us-east1 export ASTRA_DATABASE_USERNAME=MyAwesomeUsername export ASTRA_DATABASE_PASSWORD=MrNobody export ASTRA_KEYSPACE=dooooom
-
Create a new table in the CQLSH Console
CREATE TABLE dooooom.geohash ( hash text PRIMARY KEY, id text );
Lightweight Flask application with helper libraries around GeoJSON, GeoHashing, and the Astra REST APIs.
cd backend
virtualenv venv
source venv/bin/activate
pip3 install -r requirements.txt
cd backend
source venv/bin/activate
python3 main.py
cd backend
source venv/bin/activate
python -m unittest discover -s test -v -p '**test_*.py'
React Single Page Application (SPA) leveraging the Kepler.gl for visualizing GeoJSON data served by the backend.
- Sign up for a MapBox API token
cd frontend
npm install
cd frontend
npm run start