No description
- Rust 100%
| .github/workflows | chore(deps): update actions/checkout action to v7 | |
| entity | fix(deps): update rust crate itertools to 0.15 | |
| migration | moved to axum | |
| src | fix clippy lint | |
| .gitignore | initial commit | |
| .rustfmt.toml | moved to axum | |
| Cargo.lock | chore(deps): update rust crate jwt-simple to v0.12.17 | |
| Cargo.toml | fix(deps): update rust crate tower-http to 0.7.0 | |
| LICENSE | add a license | |
| README.md | add a readme | |
| renovate.json | move CI to codeberg | |
Rezepte-Datenbank: Backend
Installation
Download the asset from the latest release or compile the source yourself:
git clone https://github.com/ckruse/recipes_backend.git
cd recipes_backend
cargo build --release
Configure
The backend is configured by environment variables. The following variables are recognized:
LISTEN=127.0.0.1:8080
DATABASE_URL=postgresql://localhost/recipes_dev
COOKIE_KEY=some_random_hool9ioXahT6aiheeyiphao8koothubahthoweiD
PICTURE_DIR=/path/to/pictures/storage/dir
AVATAR_DIR=/path/to/avatars/storage/dir
Run
Just run the binary:
./recipes