All Projects → second-state → ssvm-deno-starter

second-state / ssvm-deno-starter

Licence: other
A template project to run Rust functions in Deno through the Second State WebAssembly engine.

Programming Languages

Dockerfile
14818 projects
rust
11053 projects
typescript
32286 projects

Projects that are alternatives of or similar to ssvm-deno-starter

wasmedge-nodejs-starter
A template project to run Rust functions in Node.js through the Second State WebAssembly engine.
Stars: ✭ 148 (+196%)
Mutual labels:  getting-started, webassembly-tutorial, second-state, ssvm, ssvmup, codespaces, vscode-codespaces
universe2021
All things GitHub Universe 2021!
Stars: ✭ 112 (+124%)
Mutual labels:  github-actions, codespaces
deno-x-ranking
🦕 Deno Third Party Modules Ranking 👑
Stars: ✭ 28 (-44%)
Mutual labels:  deno, denoland
cnpj
🇧🇷 Format, validate and generate CNPJ numbers in Node & Deno
Stars: ✭ 26 (-48%)
Mutual labels:  deno, denoland
denoliver
A simple, dependency free static file server for Deno with possibly the worst name ever.
Stars: ✭ 94 (+88%)
Mutual labels:  deno, denoland
dataStructure
Implement different Data Structures using TypeScript and JavaScript. Deno Third-party Module.
Stars: ✭ 24 (-52%)
Mutual labels:  deno, denoland
make-deno-edition
Automatically makes package.json projects (such as npm packages and node.js modules) compatible with Deno.
Stars: ✭ 39 (-22%)
Mutual labels:  deno, denoland
Fae
A functional module for Deno inspired from Ramda.
Stars: ✭ 44 (-12%)
Mutual labels:  deno, denoland
kafkaSaur
Apache Kafka client for Deno
Stars: ✭ 42 (-16%)
Mutual labels:  deno, denoland
deno-mongo-api
Example for building REST APIS with deno and MongoDB
Stars: ✭ 17 (-66%)
Mutual labels:  deno, denoland
logrocket deno api
A functional CRUD-like API with Deno and Postgres
Stars: ✭ 23 (-54%)
Mutual labels:  deno, denoland
now-deno-example
A demo application of now-deno and deno-postgres.
Stars: ✭ 30 (-40%)
Mutual labels:  deno
bump-everywhere
🚀 Automate versioning, changelog creation, README updates and GitHub releases using GitHub Actions,npm, docker or bash.
Stars: ✭ 24 (-52%)
Mutual labels:  github-actions
ts-nextjs-tailwind-starter
🔋 Next.js + Tailwind CSS + TypeScript starter packed with useful development features
Stars: ✭ 880 (+1660%)
Mutual labels:  github-actions
EventSource
EventSource in Deno
Stars: ✭ 18 (-64%)
Mutual labels:  deno
jacoco-report
Github action that publishes the JaCoCo report as a comment in the Pull Request
Stars: ✭ 31 (-38%)
Mutual labels:  github-actions
from-travis-to-github-actions
👨🏻‍🔧 ➡ 🤖
Stars: ✭ 49 (-2%)
Mutual labels:  github-actions
drash
A microframework for Deno's HTTP server with zero third-party dependencies
Stars: ✭ 1,013 (+1926%)
Mutual labels:  deno
github-notion-star
No description or website provided.
Stars: ✭ 82 (+64%)
Mutual labels:  github-actions
create-pr-action
GitHub Actions to manage PullRequest
Stars: ✭ 23 (-54%)
Mutual labels:  github-actions

Build and test

Check out this tutorial article: Deno Apps with WebAssembly, Rust, and WASI

Prerequisites

Install Deno

Install Rust

Also, if you have not done so, please bring your Linux system up to date with dev tools.

sudo apt install build-essential curl wget git vim libboost-all-dev

Setup

The command below installs the ssvmup tooling.

$ curl https://raw.githubusercontent.com/second-state/ssvmup/master/installer/init.sh -sSf | sh

Build

$ ssvmup build --target deno

Test

$ deno run --allow-read --allow-env --unstable deno/test.ts

NOTE: If you encounter an error here, most likely your Deno install and cached library files are out of sync. Use the deno cache --reload command to fix this issue.

Run

$ deno run --allow-read --allow-net --allow-env --unstable deno/server.ts

User test

$ curl http://localhost:8000/
hello  World

Next steps

Check out the SSVM Deno repository for more WebAssembly examples on Deno.

Tutorial article: Deno Apps with WebAssembly, Rust, and WASI

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].