parent
abbc63c7a0
commit
fed970b55d
@ -0,0 +1,42 @@ |
|||||||
|
# app-node |
||||||
|
|
||||||
|
NodeJS demo client of NextGraph |
||||||
|
|
||||||
|
## NextGraph |
||||||
|
|
||||||
|
> NextGraph brings about the convergence of P2P and Semantic Web technologies, towards a decentralized, secure and privacy-preserving cloud, based on CRDTs. |
||||||
|
> |
||||||
|
> This open source ecosystem provides solutions for end-users (a platform) and software developers (a framework), wishing to use or create **decentralized** apps featuring: **live collaboration** on rich-text documents, peer to peer communication with **end-to-end encryption**, offline-first, **local-first**, portable and interoperable data, total ownership of data and software, security and privacy. Centered on repositories containing **semantic data** (RDF), **rich text**, and structured data formats like **JSON**, synced between peers belonging to permissioned groups of users, it offers strong eventual consistency, thanks to the use of **CRDTs**. Documents can be linked together, signed, shared securely, queried using the **SPARQL** language and organized into sites and containers. |
||||||
|
> |
||||||
|
> More info here [https://nextgraph.org](https://nextgraph.org) |
||||||
|
|
||||||
|
## For contributors |
||||||
|
|
||||||
|
Build the JS SDK |
||||||
|
|
||||||
|
``` |
||||||
|
cd .. |
||||||
|
cargo run-script node |
||||||
|
``` |
||||||
|
|
||||||
|
``` |
||||||
|
cd app-node |
||||||
|
npm install --no-save ../pkg-node |
||||||
|
npm start |
||||||
|
``` |
||||||
|
|
||||||
|
Open this URL in browser : [http://localhost:8080](http://localhost:8080) |
||||||
|
|
||||||
|
## License |
||||||
|
|
||||||
|
Licensed under either of |
||||||
|
|
||||||
|
- Apache License, Version 2.0 ([LICENSE-APACHE2](LICENSE-APACHE2) or http://www.apache.org/licenses/LICENSE-2.0) |
||||||
|
- MIT license ([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT) |
||||||
|
at your option. |
||||||
|
|
||||||
|
`SPDX-License-Identifier: Apache-2.0 OR MIT` |
||||||
|
|
||||||
|
--- |
||||||
|
|
||||||
|
NextGraph received funding through the [NGI Assure Fund](https://nlnet.nl/assure) and the [NGI Zero Commons Fund](https://nlnet.nl/commonsfund/), both funds established by [NLnet](https://nlnet.nl/) Foundation with financial support from the European Commission's [Next Generation Internet](https://ngi.eu/) programme, under the aegis of DG Communications Networks, Content and Technology under grant agreements No 957073 and No 101092990, respectively. |
@ -1,128 +0,0 @@ |
|||||||
{ |
|
||||||
"name": "ng-app-node", |
|
||||||
"version": "0.1.0", |
|
||||||
"lockfileVersion": 2, |
|
||||||
"requires": true, |
|
||||||
"packages": { |
|
||||||
"": { |
|
||||||
"name": "ng-app-node", |
|
||||||
"version": "0.1.0", |
|
||||||
"license": "(MIT OR Apache-2.0)", |
|
||||||
"dependencies": { |
|
||||||
"nextgraph": "^0.1.1", |
|
||||||
"ws": "^8.13.0" |
|
||||||
} |
|
||||||
}, |
|
||||||
"../pkg-node": { |
|
||||||
"name": "nextgraph", |
|
||||||
"version": "0.1.0", |
|
||||||
"extraneous": true, |
|
||||||
"license": "MIT/Apache-2.0" |
|
||||||
}, |
|
||||||
"node_modules/bufferutil": { |
|
||||||
"version": "4.0.7", |
|
||||||
"resolved": "https://registry.npmjs.org/bufferutil/-/bufferutil-4.0.7.tgz", |
|
||||||
"integrity": "sha512-kukuqc39WOHtdxtw4UScxF/WVnMFVSQVKhtx3AjZJzhd0RGZZldcrfSEbVsWWe6KNH253574cq5F+wpv0G9pJw==", |
|
||||||
"hasInstallScript": true, |
|
||||||
"optional": true, |
|
||||||
"peer": true, |
|
||||||
"dependencies": { |
|
||||||
"node-gyp-build": "^4.3.0" |
|
||||||
}, |
|
||||||
"engines": { |
|
||||||
"node": ">=6.14.2" |
|
||||||
} |
|
||||||
}, |
|
||||||
"node_modules/nextgraph": { |
|
||||||
"version": "0.1.1", |
|
||||||
"resolved": "https://registry.npmjs.org/nextgraph/-/nextgraph-0.1.1.tgz", |
|
||||||
"integrity": "sha512-hTRfI9YVZ+nBaqBq6k2fUIzoaSQER5pMdz/eOHYo6XSMJS9CQNRo8Ko0eHb3rj4gZR3r5ox+G6t4IaoCiAsxsw==" |
|
||||||
}, |
|
||||||
"node_modules/node-gyp-build": { |
|
||||||
"version": "4.6.0", |
|
||||||
"resolved": "https://registry.npmjs.org/node-gyp-build/-/node-gyp-build-4.6.0.tgz", |
|
||||||
"integrity": "sha512-NTZVKn9IylLwUzaKjkas1e4u2DLNcV4rdYagA4PWdPwW87Bi7z+BznyKSRwS/761tV/lzCGXplWsiaMjLqP2zQ==", |
|
||||||
"optional": true, |
|
||||||
"peer": true, |
|
||||||
"bin": { |
|
||||||
"node-gyp-build": "bin.js", |
|
||||||
"node-gyp-build-optional": "optional.js", |
|
||||||
"node-gyp-build-test": "build-test.js" |
|
||||||
} |
|
||||||
}, |
|
||||||
"node_modules/utf-8-validate": { |
|
||||||
"version": "5.0.10", |
|
||||||
"resolved": "https://registry.npmjs.org/utf-8-validate/-/utf-8-validate-5.0.10.tgz", |
|
||||||
"integrity": "sha512-Z6czzLq4u8fPOyx7TU6X3dvUZVvoJmxSQ+IcrlmagKhilxlhZgxPK6C5Jqbkw1IDUmFTM+cz9QDnnLTwDz/2gQ==", |
|
||||||
"hasInstallScript": true, |
|
||||||
"optional": true, |
|
||||||
"peer": true, |
|
||||||
"dependencies": { |
|
||||||
"node-gyp-build": "^4.3.0" |
|
||||||
}, |
|
||||||
"engines": { |
|
||||||
"node": ">=6.14.2" |
|
||||||
} |
|
||||||
}, |
|
||||||
"node_modules/ws": { |
|
||||||
"version": "8.13.0", |
|
||||||
"resolved": "https://registry.npmjs.org/ws/-/ws-8.13.0.tgz", |
|
||||||
"integrity": "sha512-x9vcZYTrFPC7aSIbj7sRCYo7L/Xb8Iy+pW0ng0wt2vCJv7M9HOMy0UoN3rr+IFC7hb7vXoqS+P9ktyLLLhO+LA==", |
|
||||||
"engines": { |
|
||||||
"node": ">=10.0.0" |
|
||||||
}, |
|
||||||
"peerDependencies": { |
|
||||||
"bufferutil": "^4.0.1", |
|
||||||
"utf-8-validate": ">=5.0.2" |
|
||||||
}, |
|
||||||
"peerDependenciesMeta": { |
|
||||||
"bufferutil": { |
|
||||||
"optional": true |
|
||||||
}, |
|
||||||
"utf-8-validate": { |
|
||||||
"optional": true |
|
||||||
} |
|
||||||
} |
|
||||||
} |
|
||||||
}, |
|
||||||
"dependencies": { |
|
||||||
"bufferutil": { |
|
||||||
"version": "4.0.7", |
|
||||||
"resolved": "https://registry.npmjs.org/bufferutil/-/bufferutil-4.0.7.tgz", |
|
||||||
"integrity": "sha512-kukuqc39WOHtdxtw4UScxF/WVnMFVSQVKhtx3AjZJzhd0RGZZldcrfSEbVsWWe6KNH253574cq5F+wpv0G9pJw==", |
|
||||||
"optional": true, |
|
||||||
"peer": true, |
|
||||||
"requires": { |
|
||||||
"node-gyp-build": "^4.3.0" |
|
||||||
} |
|
||||||
}, |
|
||||||
"nextgraph": { |
|
||||||
"version": "0.1.1", |
|
||||||
"resolved": "https://registry.npmjs.org/nextgraph/-/nextgraph-0.1.1.tgz", |
|
||||||
"integrity": "sha512-hTRfI9YVZ+nBaqBq6k2fUIzoaSQER5pMdz/eOHYo6XSMJS9CQNRo8Ko0eHb3rj4gZR3r5ox+G6t4IaoCiAsxsw==" |
|
||||||
}, |
|
||||||
"node-gyp-build": { |
|
||||||
"version": "4.6.0", |
|
||||||
"resolved": "https://registry.npmjs.org/node-gyp-build/-/node-gyp-build-4.6.0.tgz", |
|
||||||
"integrity": "sha512-NTZVKn9IylLwUzaKjkas1e4u2DLNcV4rdYagA4PWdPwW87Bi7z+BznyKSRwS/761tV/lzCGXplWsiaMjLqP2zQ==", |
|
||||||
"optional": true, |
|
||||||
"peer": true |
|
||||||
}, |
|
||||||
"utf-8-validate": { |
|
||||||
"version": "5.0.10", |
|
||||||
"resolved": "https://registry.npmjs.org/utf-8-validate/-/utf-8-validate-5.0.10.tgz", |
|
||||||
"integrity": "sha512-Z6czzLq4u8fPOyx7TU6X3dvUZVvoJmxSQ+IcrlmagKhilxlhZgxPK6C5Jqbkw1IDUmFTM+cz9QDnnLTwDz/2gQ==", |
|
||||||
"optional": true, |
|
||||||
"peer": true, |
|
||||||
"requires": { |
|
||||||
"node-gyp-build": "^4.3.0" |
|
||||||
} |
|
||||||
}, |
|
||||||
"ws": { |
|
||||||
"version": "8.13.0", |
|
||||||
"resolved": "https://registry.npmjs.org/ws/-/ws-8.13.0.tgz", |
|
||||||
"integrity": "sha512-x9vcZYTrFPC7aSIbj7sRCYo7L/Xb8Iy+pW0ng0wt2vCJv7M9HOMy0UoN3rr+IFC7hb7vXoqS+P9ktyLLLhO+LA==", |
|
||||||
"requires": {} |
|
||||||
} |
|
||||||
} |
|
||||||
} |
|
Loading…
Reference in new issue