Dweb - web publishing, RESTful web apps, versioned data and

New in dweb v0.3.4 for website and web app builders…

Autonomi RESTful APIs

I’m exposing dweb and Autonomi APIs using OpenAPI and a great tool called SwaggerUI. Here’s a screenshot of SwaggerUI which provides details on every API, and can also be used to test each one with the live network or a local testnet:

To open the above in your browser, install dweb and start the server:

cargo install --locked dweb-cli
dweb serve

Then in another terminal:

dweb openapi-docs

To use with a local testnet start the server with dweb --local serve and upload some websites using dweb publish-new and dweb publish-update. You can build and test web apps exactly as you would normally with the setup (i.e. running your web app using npm run dev or yarn dev etc.)

The example web apps Fileman and Names (see the OP here) make it easy to check this out too.

Developers.. help!

Please let me know if you want a particular API or if you think I’m doing it wrong. I’m starting from zero with REST API design so welcome suggestions, feedback and requests.

13 Likes