Rust implementation of NextGraph, a Decentralized and local-first web 3.0 ecosystem https://nextgraph.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nextgraph-rs/infra/ngnet
Niko PLP d23759bb1c development of SDK while testing with 3rd party app 7 hours ago
..
auth development of SDK while testing with 3rd party app 7 hours ago
bootstrap development of SDK while testing with 3rd party app 7 hours ago
redir development of SDK while testing with 3rd party app 7 hours ago
src development of SDK while testing with 3rd party app 7 hours ago
web refactor of third aprty webapp login is working 1 day ago
.gitignore moving things around 6 days ago
Cargo.toml development of SDK while testing with 3rd party app 7 hours ago
README.md development of SDK while testing with 3rd party app 7 hours ago

README.md

ngnet

This server is used by NextGraph infrastructure for redirects, and for authentication on third-party web apps. It also serves the API for getting the list of Broker Service Providers. And should eventually provide the TextCode API.

Install

cd web
npm install -g pnpm
pnpm install

Dev (of the app)

compile the 4 front-ends, in dev mode

cargo run-script buildfrontdev
cargo watch -c -w src -x run

Currently, the ngnet server api is listening on http://127.0.0.1:3033 only, which might cause you trouble with Android emulator (hardcoded in main.rs). If you need to test from a (virtual) android device, you can use adb to tunnel the connection like: adb reverse tcp:3033 tcp:3033.

Dev (of the SDK)

cargo run-script buildfrontdev3
cargo run

Prod

cargo run-script buildfront
cargo build -r

run

../target/release/ngnet