fluencelabs / examples

Quickstart with Fluence, Aqua, and Marine
https://fluence.dev
84 stars 23 forks source link

chore(js-client): Update and restructure examples [fixes DXJ-454] #464

Closed akim-bow closed 6 months ago

akim-bow commented 8 months ago

Updated js-client examples with the simple version bump

Updates quckstart examples

  1. Browser-to-Browser - just updated js-client and imports.
  2. Hosted-service - removed because we have cli quickstart doc as a replacement
  3. Browser-to-service and 4. Composing-Services-with-aqua - United in the brand new example which explains basics of subnet resolve from frontend and sequential/parallel computation
  4. Oracle-service - Removed because we have up-to-date FRPC-substrate examples which shares the same notion of consensus and parallel computation.
linear[bot] commented 8 months ago
DXJ-454 Update examples repo with new version of js-client

Also in this task the react with js-client example will be created Add subnet resolve example Set up examples with cli

folex commented 7 months ago

Some images don't work. Seems like paths are wrong. Specifically, in quickstart/1-browser-to-browser

folex commented 7 months ago

Quickstart / browser to browser

image

I did

cd quickstart/1-browser-to-browser
cd src/frontend
npm i
npm run start

npm run build gives an error, too.

Quickstart / browser parallel

image
cd 2-browser-parallel-computation
fluence build
cd src/frontend
npm i
npm run start