DataStax-Examples / astra-nodejs-starter

Bootstrap your next NodeJS app with an Astra integration.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NodeJS Starter

10 minutes, Beginner, Start Building

Bootstrap your next NodeJS app with an Astra integration.

image

Quick Start

  • Create an Astra DB Keyspace called sag_nodejs_starter 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: Open in IDE
  • 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.
  • 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.

Objectives

Bootstrap a NodeJS app with Astra already integrated.

How this works

Opening and running the app will populate the database you specify in your .env file with the required data, allowing you to explore the NodeJS starter app.

About

Bootstrap your next NodeJS app with an Astra integration.

License:Apache License 2.0


Languages

Language:JavaScript 100.0%