Skip to content

Azure-Samples/cosmos-db-apache-gremlin-javascript-samples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Azure Cosmos DB for Apache Gremlin client library samples for JavaScript

Validate Node.js projects

Getting started

This repo has a devcontainer environment making it easy to get started.

Open in GitHub Codespaces

Run the app

Configure your Azure Cosmos DB credentials as environment variables.

export COSMOS_ENDPOINT="<cosmos-account-URI>"
export COSMOS_KEY="<cosmos-account-PRIMARY-KEY>"

💡 TIP: If you don't have an Azure Cosmos DB account, create a free account.

Run the quickstart sample app using the gremlin package from NPM.

cd 001-quickstart/
npm install gremlin
npm run start

Validate any changes you make

If you change the code, run the linter.

cd ./
npm install eslint-config-standard --no-save
cd ./001-quickstart/
npx eslint .

About

Sample JavaScript applications for Azure Cosmos DB for Apache Gremlin

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Contributors 2

  •  
  •