60 minutes, Advanced, Start Building
A horizontally scaling productivity app that leverages Astra DB and Astra Streaming.
- Signup for DataStax Astra, or login to your already existing account.
- Create an Astra DB Database if you don't already have one.
- Create an Astra DB Keyspace called
sag_mercuryin your database. - Generate an Application Token with the role of
Database Administratorfor the Organization that your Astra DB is in. - Click the 'Open in Gitpod' link:
- Once the app is finished launching in the Gitpod IDE, copy the
env.examplefile to a file named.envand fill the required values in from your Application Token and Astra DB connection settings. - Register your app on your Github account and add its Client ID and Client Secret to the
.envfile. - Get your secure connect bundle from the connect page of your database and upload it to your Gitpod instance. Rename it to
secure-connect-bundle.zip - Start the example by running
npm startin the Gitpod console.
Run a realtime chat app.
Opening and running the app will populate the database you specify in your .env file with the required data, allowing you to explore Mercury.
Mercury is built using: