purescript-httpurple/docs/Examples/HelloWorld/Readme.md

17 lines
290 B
Markdown
Raw Normal View History

2017-07-10 10:17:13 +00:00
# Hello World Example
This is a basic 'hello world' example. It simply returns 'hello world!' when
making any request.
2017-07-10 10:17:13 +00:00
To run the example server, run:
```bash
nix-shell --run 'example HelloWorld'
```
Or, without nix:
```bash
spago -x test.dhall run --main Examples.HelloWorld.Main
2017-07-10 10:17:13 +00:00
```