# Rocket - Hello World

```
cargo add rocket
```

{% embed include file="src/examples/rocket/hello-world/Cargo.toml" %}

{% embed include file="src/examples/rocket/hello-world/src/main.rs" %}

```
cargo test
```

```
cargo run
```

```
$ curl -i http://127.0.0.1:8000/
```

* Content-type is `text/plain`



