Files
purescript-httpurple/docs/Examples/HelloWorld
sigma-andex 345675d5bd Make settings optional
- Add default onStarted and closingHandler
- Use justifill to easily add options
- Remove multiple serve options
2022-05-22 17:37:42 +01:00
..
2022-05-22 17:37:42 +01:00

Hello World Example

This is a basic 'hello world' example. It simply returns 'hello world!' when making any request.

To run the example server, run:

nix-shell --run 'example HelloWorld'

Or, without nix:

spago -x test.dhall run --main Examples.HelloWorld.Main