2019-06-08 19:47:39 +02:00
# Handlebars
2022-02-17 21:15:18 +01:00
This is an example of how to use Actix Web with the [Handlebars ](https://crates.io/crates/handlebars ) templating language, which is currently the most popular crate that achieves this.
## Usage
2019-06-08 19:47:39 +02:00
2021-10-06 23:28:53 +02:00
```bash
2022-02-18 03:13:55 +01:00
cd templating/handlebars
2021-10-06 23:28:53 +02:00
cargo run
```
2022-02-17 21:15:18 +01:00
After starting the server, you may visit the following pages:
2019-06-08 19:47:39 +02:00
- http://localhost:8080
- http://localhost:8080/Emma/documents
2019-12-22 19:51:33 +01:00
- http://localhost:8080/Bob/passwords
2020-05-19 17:21:39 +02:00
- http://localhost:8080/some-non-existing-page - 404 error rendered using template