mirror of
https://github.com/fluencelabs/examples
synced 2024-12-04 11:10:17 +00:00
fbfc344abf
* Update examples * Update js-client examples * Add cli to example * Fixes * Update js-client * Update js-client version in js-client examples * PR fixes * Remove marine-js * Update locks * Fix aqua * Remove unused import * Adjust import * Change code comment * Update example structures * Fix quickstart examples * Add aqua command to README * Add marine example * Fix image links * Fixes * Misc fixes |
||
---|---|---|
.. | ||
.fluence/schemas | ||
src | ||
fluence.yaml | ||
README.md |
Getting Started with Fluence
This sample project demonstrates how fluence network can be accessed from the browser. As an example it retrieves the timestamp of the current time from the relay node. The project is based on an create-react-app template with slight modifications to integrate Fluence. The primary focus is the integration itself, i.e React could be swapped with a framework of your choice.
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 application
npm start
The browser window with localhost:3000
should open
Learn more
To learn more, refer to the documentation page