2023-02-23 22:02:15 +04:00
|
|
|
# Getting Started with Fluence
|
|
|
|
|
|
|
|
This is a minimalistic Node.js application for Fluence using Fluence JS Client.
|
|
|
|
|
2023-12-12 18:46:57 +07:00
|
|
|
> To run this example you need `@latest` version of Fluence CLI. You can find installation guide [here](https://github.com/fluencelabs/cli).
|
|
|
|
|
2023-02-23 22:02:15 +04:00
|
|
|
## Getting started
|
|
|
|
|
2023-12-12 18:46:57 +07:00
|
|
|
Go to `src/frontend` folder:
|
|
|
|
|
|
|
|
```bash
|
|
|
|
cd ./src/frontend
|
|
|
|
```
|
|
|
|
|
2023-02-23 22:02:15 +04:00
|
|
|
Install dependencies:
|
|
|
|
|
|
|
|
```bash
|
|
|
|
npm i
|
|
|
|
```
|
|
|
|
|
2023-12-12 18:46:57 +07:00
|
|
|
Run aqua compiler:
|
|
|
|
|
|
|
|
```bash
|
|
|
|
fluence aqua
|
|
|
|
```
|
|
|
|
|
2023-02-23 22:02:15 +04:00
|
|
|
Run the Node.js application:
|
|
|
|
|
|
|
|
```bash
|
|
|
|
npm start
|
|
|
|
```
|
|
|
|
|
|
|
|
## Learn more
|
|
|
|
|
2023-05-08 16:52:28 +03:00
|
|
|
To learn more, refer to the
|
|
|
|
[documentation page](https://fluence.dev//docs/build/js-client/js-client)
|