/rust-backend-starter

Backend starter written with Rust to provide better speed

Primary LanguageRust

Rust backend starter

REST API with Rust and MongoDB - Rocket Version

Startup

  1. Clone the repo git clone https://github.com/T-Damer/rust-backend-starter.git
  2. Go into the folder cd rust-backend-starter
  3. Install dependencies cargo install --path .
  4. Create .env in project root, fill it properly, consider looking into .env.sample
  5. To start the server run cargo run

Default endpoint is: http://127.0.0.1:8000/

Available commands

cargo watch -x run - watch for changes and rebuild cargo upgrade - list all new versions of crates for Cargo.toml