webassembly-demo

module
v0.0.0-...-30ba07a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 4, 2019 License: MIT

README

WebAssembly demo with React and Go 1.12

A Go-based WebAssembly sample with React app!

Demo capture

Installation

Client
cd client
npm i
npm run dev

The client is available on https://localhost:8080

Server
cd server
npm i
npm run dev

The server is available on https://localhost:3000

Build the WASM
cd server/go
GOOS=js GOARCH=wasm go build -o main.wasm

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Some ideas for pull requests

  • Use Create-React-App
  • Use TypeScript
  • Style the exemple
  • Add more scenarii using WebAssembly
  • Write a script to install all dependencies with a single command

Resources

Licence

MIT

Directories

Path Synopsis
server
go

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL