Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/aditya1404sal/wasm-projects
A repository containing all sorts of different wasm projects made using wasmcloud, spin and other tools
https://github.com/aditya1404sal/wasm-projects
Last synced: about 2 months ago
JSON representation
A repository containing all sorts of different wasm projects made using wasmcloud, spin and other tools
- Host: GitHub
- URL: https://github.com/aditya1404sal/wasm-projects
- Owner: Aditya1404Sal
- Created: 2024-07-24T14:18:29.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-11-16T18:13:15.000Z (about 2 months ago)
- Last Synced: 2024-11-16T19:21:39.166Z (about 2 months ago)
- Language: Rust
- Size: 69.2 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Wasm-Projects
A repository containing all sorts of different wasm projects made using wasmcloud, spin and other toolsCurrently this repo contains
1) Calculator-wash : An Http based Calculator that performs operations based on query parameters
2) Rate-limiter : An Http based Rate limiter that keeps track of incoming requests and alerts if the limit is exceededthis library is an accumulation of a multitude of backends, wasmcloud helps in developing componentized backends that can be interconnected due to interface driven development
steps for creating a component capable of doing something:
1) Create a new component by using the pre-existing templates, then start writing the business logic and use the wasmcloud native wasi capability imports for implementing business logic
different functionalities like blobstore or keyvalue like redis have configuration like their port, address, path or secrets, load them using wash config put and other such commands
2) start the provider and link the componet to the provider or vice versa
using wash link put and adding the source and target component/provider ID for allowing wasi calls3) do not forget to import the wasi:<> in the world.wit file correctly