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.