Giter Site home page Giter Site logo

kazazes / amazon-qldb-dmv-sample-nodejs Goto Github PK

View Code? Open in Web Editor NEW

This project forked from aws-samples/amazon-qldb-dmv-sample-nodejs

0.0 1.0 0.0 112 KB

A DMV based example application which demonstrates how to use QLDB with the QLDB Driver for Node.js

Home Page: https://aws.amazon.com/qldb/

License: Other

TypeScript 100.00%

amazon-qldb-dmv-sample-nodejs's Introduction

Amazon QLDB Node.js DMV Sample App

The samples in this project demonstrate several uses of Amazon Quantum Ledger Database (QLDB).

For our tutorial, see Node.js and Amazon QLDB.

Requirements

Basic Configuration

See Accessing Amazon QLDB for information on connecting to AWS.

See Setting Region page for more information on using the AWS SDK for JavaScript. You will need to set a region before running the sample code.

TypeScript 3.5.x

The sample code is written in, and requires, TypeScript 3.5.x. It will be automatically installed as a dependency. Please see the link below for more detail on TypeScript 3.5.x:

Installing the Dependencies

Install Node.js QLDB driver, and other dependencies using the npm utility:

npm install

Running the Sample Code

Since the sample code is written in TypeScript, it must first be transpiled in order to be run:

npm run build

The transpiled JavaScript files can be now found in the ./dist directory.

The sample code creates a ledger with tables and indexes, and inserts some documents into those tables, among other things. Each of the examples in this project can be run in the following way:

node dist/CreateLedger.js

The above example will create a ledger named: vehicle-registration. You may run other examples after creating a ledger.

See Getting Started to learn more about the sample app.

Documentation

TypeDoc is used for documentation. You can generate HTML locally with the following:

npm run doc

Release Notes

Release 1.0.0-rc.1

  • Modify the sample app to use Qldb Node.js Driver v1.0.0-rc.1

Release 0.1.0-preview

  • Initial preview release of the QLDB Node.js Sample Application.

License

This library is licensed under the MIT-0 License.

amazon-qldb-dmv-sample-nodejs's People

Contributors

danieledwardknudsen avatar jamesiri avatar kazazes avatar othonrsanchez avatar yohanmartin avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.