Skip to content

Evolving-Software/rust-web-server-template

Repository files navigation

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.

About

A fully featured web server template written in Rust using Actix-Web

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published