Artifact 23928fbcfbe59d27b15e7b48aaf461ce021c69da:
- Executable file wiki_references/2017/software/MaidSafe_net/src_from_GitHub/the_repository_clones/safe_app_nodejs/docs-home.md — part of check-in [27cdbe8d26] at 2019-12-22 14:17:48 on branch trunk — code updates from GitHub repositories and new 2019 wiki references (user: vhost7825ssh, size: 1032) [annotate] [blame] [check-ins using]
Getting started
git clone https://github.com/maidsafe/safe_app_nodejs.git
cd safe_app_nodejs
yarn
const safe = require('@maidsafe/safe-node-app');
const appInfo = {
id : 'net.maidsafe.example',
name : 'Example SAFE app',
vendor : 'MaidSafe.net Ltd'
};
const asyncFn = async () => {
const app = await safe.{@link initialiseApp}(appInfo);
};
Recommended to build basic Electron app, while referencing this documentation.
Our web API exposed in SAFE Browser, nearly identical to this library with just one variation, is an easy way to start exploring operations. Recommended to either follow the web API tutorial or to explore with our web API playground.