2022-05-29 22:27:46 +09:00
|
|
|
# hello
|
|
|
|
|
|
|
|
* This app just returns a message `Hello, world!`.
|
2022-05-30 17:35:38 +09:00
|
|
|
* If a url param like `?name=syumai` given, then a message `Hello, syumai!` will be returned.
|
2022-05-29 22:27:46 +09:00
|
|
|
|
|
|
|
## Demo
|
|
|
|
|
|
|
|
* https://hello.syumai.workers.dev/
|
|
|
|
* https://hello.syumai.workers.dev/?name=syumai
|
2022-05-30 08:40:36 +09:00
|
|
|
|
|
|
|
## 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
|
2023-05-21 11:56:31 +09:00
|
|
|
make deploy # deploy worker
|
2022-05-30 08:40:36 +09:00
|
|
|
```
|