mirror of
https://github.com/fluencelabs/examples
synced 2025-06-21 22:01:33 +00:00
Getting Started with Fluence
This example demonstrates how to use marine services via JS client. It will work both in frontend and backend environments. The wasm file from the example has been taken from this example.
To learn how to build marine services, peek at
marine-examples
folder in this repository or in Marine docs.
To run this example you need
@latest
version of Fluence CLI. You can find installation guide here.
Getting started
Go to src/frontend
folder:
cd ./src/frontend
Install dependencies:
npm i
Run aqua compiler:
fluence aqua
Start the dev server
npm run dev
Click on the link in console output. Window on localhost:5173
should open. After that wait for the button and click it. You should see "Hi, Fluence".
Learn more
To learn more, refer to the documentation page