1
0
mirror of https://github.com/fluencelabs/aqua-playground synced 2025-03-15 07:50:50 +00:00
folex db1a421206
fix(ci): use unstable nox image ()
* fix(ci): use unstable nox image

* fix(ci): js-client.node 0.7.0, js-client-api 0.12.0
2023-06-30 10:04:27 -06:00
2021-04-12 09:48:09 +03:00
2021-04-14 17:48:17 +03:00
2023-02-22 15:15:11 +04:00

Aqua playground

Repository demonstrating the how to start writing aqua and integrate it into a typescript application

Getting started

Install dependencies

npm install

To compile the aqua files execute

npm run compile-aqua

To start the index.ts execute

npm run run

To run all examples in example directory

npm run exec

If everything works correctly logs without errors will be printed on a screen:

Then you can add or modify aqua files in aqua directory, these files will be compiled into /src/compiled and you can use it in a TypeScript in your preferable way.

Project structure

Aqua source files are located in src/aquadirectory.

Aqua files are compiled into .ts located in /src/compiled directory.

Entry point to use aqua compiled files from TypeScript: /src/index.ts

Code that call all examples and check results: /src/run-examples.ts

References

Documentation for the compiler can be found in the official repo: https://github.com/fluencelabs/aqua

Description
No description provided
Readme 66 MiB
Languages
TypeScript 97%
JavaScript 3%