This is an example of how to use React and Axiom together.
The Axiom documentation uses this app as an example. Check out the docs for Building an Application.
To develop your app locally, you can run:
Open http://localhost:2000 to view it in the browser.
To bundle your application into static files, run:
This will create a static bundle in the build
folder.
To deploy your application onto Axiom, you have to upload the
build
folder to a decentralized bucket. First, create
a bucket. You can check the docs on creating a bucket if you don't have a bucket already. Then run:
You can check it out by installing the Axiom Authenticator and browsing to your-bucket-name.axiom
.