You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
![]() |
2 months ago | |
---|---|---|
.github | 6 months ago | |
entity | 3 months ago | |
migration | 4 months ago | |
src | 2 months ago | |
.gitignore | 8 months ago | |
.rustfmt.toml | 5 months ago | |
Cargo.lock | 2 months ago | |
Cargo.toml | 2 months ago | |
LICENSE | 6 months ago | |
README.md | 6 months ago |
README.md
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