mirror of
https://github.com/actix/actix-web.git
synced 2024-12-23 00:26:34 +00:00
18 lines
328 B
Markdown
18 lines
328 B
Markdown
|
# template_tera
|
||
|
|
||
|
Minimal example of using the template [tera](https://github.com/Keats/tera) that displays a form.
|
||
|
|
||
|
## Usage
|
||
|
|
||
|
### server
|
||
|
|
||
|
```bash
|
||
|
cd actix-web/examples/template_tera
|
||
|
cargo run (or ``cargo watch -x run``)
|
||
|
# Started http server: 127.0.0.1:8080
|
||
|
```
|
||
|
|
||
|
### web client
|
||
|
|
||
|
- [http://localhost:8080](http://localhost:8080)
|