Giter Site home page Giter Site logo

d4l-data4life / js-sdk Goto Github PK

View Code? Open in Web Editor NEW
4.0 10.0 2.0 6.36 MB

The Data4Life JavaScript SDK for interacting with the D4L Platform.

License: Other

JavaScript 16.73% Makefile 0.49% Groovy 0.05% Shell 0.12% TypeScript 82.39% Dockerfile 0.20% HTML 0.01%

js-sdk's Introduction

Gitmoji

Data4Life Web SDK

This is the Javascript Web SDK of Data4Life, which encapsulates the backend functionality of the platform and enables end-to-end encryption of patient data. It allows users to store sensitive health data on the secure Data4Life platform and share it to authorized people and applications.

For more information about the platform please visit our website.

For more information about using the endpoints and methods provided by the SDK, read the documents in the docs folder in this repository.

Requirements

To use the SDK, you need to create a client id from Data4Life. Please get in touch with us at [email protected].

Development and build

Prerequisites

  • node, npm

In the directory run:

npm install

Building

This SDK uses rollup for its bundling task. Building the SDK bundle is done with:

 npm run build

Watching

During development, you can let rollup watch for file changes and rebuild your bundle using:

npm run watch

Import the built file in your project to start using the SDK.

Tests

The SDK uses karma, mocha, sinon, and chai for unit tests.

To run all tests, execute:

npm test

It uses eslint to check and report incorrect indentations and patterns in the project, bundles the project, run unit tests and makes a coverage report.

To run the unit tests only, execute:

npm run karma:prod:web

During development, you can watch for any file changes and rerun the tests on any change using:

npm run karma:web

To run eslint execute:

npm run lint

Development Process

Branches

Use the naming convention below for branches: <github-username>/<do-this>

Releases

Releases are automatically created when the version in the package.json is increased. Afterwards the release notes needs to be added manually.

License

(c) 2021 D4L Data4Life gGmbH / All rights reserved. Please refer to our License for further details.

Code of conduct

Contributor Code of Conduct. By participating in this project, you agree to abide by its terms.

Work in progress

This document is still a work in progress. We are working on adding contributing guidelines and other documents.

js-sdk's People

Contributors

burtchen avatar dependabot[bot] avatar jhuenges avatar jonathan-reisdorf avatar lrueckert avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

glumli burtchen

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.