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_mercury
in your database. - Generate an Application Token with the role of
Database Administrator
for 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.example
file to a file named.env
and 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
.env
file. - 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 start
in 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: