{"id":24904809,"url":"https://github.com/oxide-byte/todo-wasi","last_synced_at":"2025-03-27T21:16:48.818Z","repository":{"id":273744380,"uuid":"865643378","full_name":"oxide-byte/todo-wasi","owner":"oxide-byte","description":"Todo WASI/WebAssmbly Rest/API Server with Postgres Database","archived":false,"fork":false,"pushed_at":"2025-01-22T17:36:29.000Z","size":17,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-01T23:39:44.279Z","etag":null,"topics":["rest-api","rust","wasi","wasmedge"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/oxide-byte.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-09-30T21:50:37.000Z","updated_at":"2025-01-22T17:36:32.000Z","dependencies_parsed_at":"2025-01-22T18:42:56.098Z","dependency_job_id":null,"html_url":"https://github.com/oxide-byte/todo-wasi","commit_stats":null,"previous_names":["oxide-byte/todo-wasi"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oxide-byte%2Ftodo-wasi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oxide-byte%2Ftodo-wasi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oxide-byte%2Ftodo-wasi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oxide-byte%2Ftodo-wasi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/oxide-byte","download_url":"https://codeload.github.com/oxide-byte/todo-wasi/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245924500,"owners_count":20694731,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["rest-api","rust","wasi","wasmedge"],"created_at":"2025-02-01T23:39:53.782Z","updated_at":"2025-03-27T21:16:48.471Z","avatar_url":"https://github.com/oxide-byte.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Todo WASI\n\n## Introduction\n\nThis Repository is a little POC on experimenting with WebAssembly/WASI on Backend side. \n\nDue some great experiences with Leptos (WebAssembly/Frontend), this POC contains a Rest API Server based on minimal dependencies, storing data in a Postgres DB. The code itself does not contain a lot off error checks, validations or security gates.\n\nThe Docker image of the Web Server is based on *wasmedge/slim:0.13.5* with a total size of 64.26 MB.\n\nThe WebAssembly Server size build on release is 2 MB.\n\n## Execution\n\nThe application can build and run inside Docker as Docker composition with:\n\n````shell\ndocker compose up\n````\n\nIn case you have a Rust development environment with cargo configured for build a target WASI:\n\n````shell\ncargo build --target wasm32-wasip1\n````\n\nor for the release mode:\n\n````shell\ncargo build --target wasm32-wasip1 --profile release\n````\n\nThe Server itself can be started when you have installed wasmedge with:\n\n````shell\nchmod +x target/wasm32-wasip1/debug/todo-wasi.wasm\nwasmedge target/wasm32-wasip1/debug/todo-wasi.wasm\n````\n\nIn case you have IntelliJ, you can execute the HTTP requests found in the folder /http\nlike \n\n````http request\nGET http://127.0.0.1:8080/api/todo\nAccept: application/json\n````","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foxide-byte%2Ftodo-wasi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foxide-byte%2Ftodo-wasi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foxide-byte%2Ftodo-wasi/lists"}