mirror of
https://github.com/syumai/workers.git
synced 2025-03-11 09:49:12 +00:00
27 lines
481 B
Markdown
27 lines
481 B
Markdown
# hello
|
|
|
|
* This app just returns a message `Hello, world!`.
|
|
* If a url param like `?name=syumai` given, then a message `Hello, syumai!` will be returned.
|
|
|
|
## Demo
|
|
|
|
* https://hello.syumai.workers.dev/
|
|
* https://hello.syumai.workers.dev/?name=syumai
|
|
|
|
## Development
|
|
|
|
### Requirements
|
|
|
|
This project requires these tools to be installed globally.
|
|
|
|
* wrangler
|
|
* tinygo
|
|
|
|
### Commands
|
|
|
|
```
|
|
make dev # run dev server
|
|
make build # build Go Wasm binary
|
|
make deploy # deploy worker
|
|
```
|