SAFE network: Rabbit Hole app
This repository is a refactor of a conventional app that I built here: https://github.com/hunterlester/rabbit-hole
Rabbit Hole is an educational application to help organize subjects of study.
My aim, by converting it to a SAFE app, is to become familiar with the SAFE api and to learn to think differently about app development. I'm also learning Rust and systems programming, so I'm using the opportunity to help me drill down into the low-level core files.
New to SAFE?
The SAFE network is meant to do away with centralized databases and the client-server paradigm. The priority is for data security and individual empowerment.
In the case of this app, this means no login or user management, no server or external database management, built-in security, and easy communication between users.
Start here: https://maidsafe.net/
Challenges that I want to explore
Alternative to web socket protocol
How to properly structure deeply nested data
The foundation of this app is due to the developers that built a wonderful tutorial email application (https://github.com/maidsafe/safe_examples/tree/master/email_app) and the developers that created the original boilerplate: https://github.com/chentsulin/electron-react-boilerplate
Requires safe_launcher version 0.9.1
First, clone the repo and then install dependencies.
$ cd your-project-name && npm install
Run this two commands simultaneously in different console tabs.
$ npm run hot-server $ npm run start-hot
or run two servers with one command
$ npm run dev
Note: requires a node version >= 4 and an npm version >= 2.
Toggle Chrome DevTools
- OS X: Cmd Alt I or F12
- Linux: Ctrl Shift I or F12
- Windows: Ctrl Shift I or F12
See electron-debug for more information.
$ npm run package
To package apps for all platforms:
$ npm run package-all
To package apps with options:
$ npm run package -- --[option]