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.
Go to file
Christian Kruse 8a5b232073 version 0.2.4 2 months ago
.github add dependabot job 6 months ago
entity add a cache identifier to the image URLs 3 months ago
migration Bump sea-orm-migration from 0.10.7 to 0.11.0 4 months ago
src fix: days now have the correct default value 2 months ago
.gitignore initial commit 8 months ago
.rustfmt.toml rustfmt should now the edition 5 months ago
Cargo.lock version 0.2.4 2 months ago
Cargo.toml version 0.2.4 2 months ago
LICENSE add a license 6 months ago
README.md add a readme 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