examples/js-client-examples/node-example
renovate[bot] f2c4d7c8f1
fix(deps): update fluence js (#458)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-14 20:10:02 -05:00
..
aqua feat!: Replace old fluence-js with JS Client (#425) 2023-02-21 12:20:51 +03:00
src feat!: Replace old fluence-js with JS Client (#425) 2023-02-21 12:20:51 +03:00
.gitignore feat!: Replace old fluence-js with JS Client (#425) 2023-02-21 12:20:51 +03:00
.prettierrc.cjs feat!: Replace old fluence-js with JS Client (#425) 2023-02-21 12:20:51 +03:00
jest.config.cjs feat!: Replace old fluence-js with JS Client (#425) 2023-02-21 12:20:51 +03:00
package-lock.json fix(deps): update fluence js (#458) 2023-08-14 20:10:02 -05:00
package.json fix(deps): update fluence js (#458) 2023-08-14 20:10:02 -05:00
README.md feat: Update readme files for JS Client examples (#430) 2023-02-23 21:02:15 +03:00
run_calculation.sh feat!: Replace old fluence-js with JS Client (#425) 2023-02-21 12:20:51 +03:00
tsconfig.json feat!: Replace old fluence-js with JS Client (#425) 2023-02-21 12:20:51 +03:00

Getting Started with Fluence

This is a sample Node.js application using Fluence JS Client. It exposes a calculator service written in Typescript which can be accessed from Fluence Network using Aqua language

Getting started

Install dependencies:

npm i

Start the Node.js application:

npm start

This should start listening to incoming particles from Fluence Network.

Try interacting with the application with some aqua:

./run_calculation.sh

Learn more

To learn more, refer to the documentation page