/bump-rocket

Building a web servers backend

Primary LanguageRustMIT LicenseMIT

rustlang-rocket-mongodb

Try it on gitpod

Forked repo from this medium article

Usage

echo -e "MONGO_ADDR=localhost
DB_NAME=rustlang-rocket-mongodb
MONGO_PORT=27017" > .env
echo -e "CLIENT_ID=<client id>
CLIENT_SECRET=<client secret>" >> .env
rustup default nightly # rocket requires a nightly or dev version of Rust
cargo run &