0.2.0 • Published 6 years ago
gigapaxos-client v0.2.0
Javascript client for Gigapaxos
This is a Javascript client for Gigapaxos.
Build Instructions
- Install NPM if needed
- Install webpack: npm install webpack -g (or locally in repo)
- Run npx webpack or npx webpack --mode development for quicker build without uglification
- gpClient.js is generated in dist folder
Usage
Include the generated file gpClient.js via script tag. Client functions can then be accessed using the global variable gpClient.
Running Example
Start Python server in base directory:
python3 -m http.server 13080
Open in browser:
http://0.0.0.0:13080/usage_example/example.html