A fully featured web server template written in Rust using Actix-Web
  • CSS 56.6%
  • Rust 24.5%
  • HTML 17.6%
  • JavaScript 0.7%
  • Shell 0.6%
Find a file
2023-01-04 17:02:22 -05:00
.cargo Project skeleton 2022-10-14 00:33:41 -04:00
.github/workflows Update scheduled-workflow.yml 2022-10-14 00:52:02 -04:00
db update database & readme 2023-01-01 14:46:46 -05:00
public Add views and Tailwind 2023-01-01 13:29:50 -05:00
src fixed failing tests and broken server. 2023-01-04 17:02:22 -05:00
tests fixed failing tests and broken server. 2023-01-04 17:02:22 -05:00
.gitignore Add views and Tailwind 2023-01-01 13:29:50 -05:00
bootstrap-server.sh Add views and Tailwind 2023-01-01 13:29:50 -05:00
Cargo.lock tests failing, need to diagnose 2023-01-01 16:04:27 -05:00
Cargo.toml fixed failing tests and broken server. 2023-01-04 17:02:22 -05:00
LICENSE Project skeleton 2022-10-14 00:33:41 -04:00
package.json tests failing, need to diagnose 2023-01-01 16:04:27 -05:00
README.md update database & readme 2023-01-01 14:46:46 -05:00
tailwind.config.js Add views and Tailwind 2023-01-01 13:29:50 -05:00
toDo.md update database & readme 2023-01-01 14:46:46 -05:00
yarn.lock Add views and Tailwind 2023-01-01 13:29:50 -05:00

Rust Web Server Template

Web Server Status Latest Commit Security Status Nightly Security Audit Status

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.

Features

  • Logging
  • Configuration
  • Static file serving
  • Templating
  • JSON
  • Error handling
  • Database
  • Sessions
  • Authentication
  • Tests

Usage

Pre-Requsites

Windows

cargo install -f cargo-binutils
rustup component add llvm-tools-preview

To 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

License

This project is licensed under AGPLv3 or later. See the LICENSE file for details.