Revise example/1-hello/README.md

This commit is contained in:
Anton Bachin 2021-03-24 17:44:06 +03:00
parent bac130fb5d
commit eead553cbd

View File

@ -6,21 +6,20 @@ let () =
Dream.respond "Good morning, world!")
```
It's the absolute minimum Dream server. It just tells you where to point your
browser once the server has started:
It's the absolute minimum Dream server. It just prints a message to the log at
startup, telling you where to point your browser:
```
$ make
<pre><code><b>$ make</b>
08.02.21 21:17:21.471 Running on http://localhost:8080
08.02.21 21:17:21.471 Press ENTER to stop
```
</code></pre>
If you go there, to `http://localhost:8080`, you will, of course, see
`Good morning, world!`.
If you go to [http://localhost:8080](http://localhost:8080), you will, of
course, see `Good morning, world!`.
<br>
Where to go from here?
Next steps:
- The next example, [**`2-middleware`**](../2-middleware) wraps the app with the
logger.