examples/js-client-examples/node-example
renovate[bot] f2b057ba4a
chore(deps): update fluence js (#465)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-01 14:24:09 -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 chore(deps): update fluence js (#465) 2023-11-01 14:24:09 -05:00
package.json chore(deps): update fluence js (#465) 2023-11-01 14:24:09 -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