mirror of
https://github.com/fluencelabs/examples
synced 2025-04-25 18:52:15 +00:00
30 lines
607 B
Markdown
30 lines
607 B
Markdown
|
# 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:
|
||
|
|
||
|
```bash
|
||
|
npm i
|
||
|
```
|
||
|
|
||
|
Start the Node.js application:
|
||
|
|
||
|
```bash
|
||
|
npm start
|
||
|
```
|
||
|
|
||
|
This should start listening to incoming particles from Fluence Network.
|
||
|
|
||
|
Try interacting with the application with some aqua:
|
||
|
|
||
|
```bash
|
||
|
./run_calculation.sh
|
||
|
```
|
||
|
|
||
|
## Learn more
|
||
|
|
||
|
To learn more, refer to the [documentation page](https://fluence.dev//docs/build/js-client/js-client)
|