Skip to content
Rust Rest Boilerplate with JWT Auth and MongoDB
Rust
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
.gitignore
Cargo.toml
README.md
RustRest.iml
env.example

README.md

rust-rest

Rust restfull example with JTW

Install Rust

  • Install rust curl https://sh.rustup.rs -sSf | sh
  • Install nightly version rustup install nightly
  • Set nightly version as default for our project rustup override set nightly

Configure project

  • Copy .env.example to .env
  • Configure DB Conection to your mongodb server
    • You can create a free mongodb account in mlab.com

Run Project

  • Execute cargo run
You can’t perform that action at this time.