Hack project to learn about Rust. Hosts pages as template files in the /pages
directory.
First, install dependencies:
$ cargo build
Then start the server:
$ cargo run
The server will now be running at http://localhost:7878/
, reading from src/pages/index.hbs
.
- Add some sort of controller support. It was out of scope for the hackathon.
- Safer defaults and path/query handling
- Make multithreaded: https://doc.rust-lang.org/book/ch20-02-multithreaded.html
- Support request types other than GET