This is a template for a web server written in Rust. It's intended to be a starting point for a web server written in Rust. It's not intended to be a production-ready web server, but it's a good starting point for one.
- Logging
- Configuration
- Static file serving
- Templating
- JSON
- Error handling
- Database
- Sessions
- Authentication
- Tests
cargo install -f cargo-binutils
rustup component add llvm-tools-previewTo use this template, first install Rust. Then:
$ git clone
$ cd rust-web-server-template
$ cargo build
To run the server:
$ cargo run
To run the tests:
$ cargo test
This project is licensed under AGPLv3 or later. See the LICENSE file for details.