Rust API for invite-only community platform.
Note that the project was not intended to be made public therefore has no documentation.
Before building and running the API you need to have a running postgres instance.
- Copy
.env.exampleto.envand change the database url option - Copy
config.toml.exampletoconfig.tomland adjust it to your needs - Download sqlx-cli then run command below in root directory:
sqlx migrate run- Generate two key pairs for JWT signing/verifying
./scripts/generate_keys.sh- Start the development server
cargo run