/safe_app_nodejs

Primary LanguageJavaScriptOtherNOASSERTION

safe_app_nodejs

Maintainer: Krishna Kumar (krishna.kumar@maidsafe.net)

safe_app Node.js library.

Linux/OS X Windows
Build Status Build status
Coverage status
Coverage Status

Documentation

The documentation for the safe_app Node.js API is available at http://docs.maidsafe.net/safe_app_nodejs/.

External Libraries

The external libraries will automatically be downloaded when you run npm install.

If you are working on a development environment, you can run NODE_ENV=dev npm install instead in order to get the safe_client libraries which use the MockVault file rather than connecting to the SAFE Network.

Testing

To run the tests locally, make sure you installed the safe_client libraries with NODE_ENV=dev npm install, then you can run them by executing npm test.

You may possibly be compiling your own safe_app library for testing purposes. In this case, if you want to be able to run the tests, make sure to include testing in your build features when compiling safe_app in safe_client_libs, i.e. cargo build --release --features "use-mock-routing testing".

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the MaidSafe Contributor Agreement, version 1.1 ([CONTRIBUTOR] (CONTRIBUTOR)), shall be dual licensed as above, and you agree to be bound by the terms of the MaidSafe Contributor Agreement, version 1.1.