An image processing web app built using vulpix.
Used in production at Apollo Agriculture to process and serve images securely from aws.
The repo also acts as an example usage vulpix library building an app using axum
install from rust or
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | shinstall image magick
brew install imagemagickaws env variables
AWS_ACCESS_KEY_ID=
AWS_SECRET_ACCESS_KEY=
AWS_REGION=
cargo install cargo-watchcargo watch -q -c -w ./lib -w ./server -w ./config -x runor
cargo devcargo build --releaseconfiguration for running vulpix app lies in config folder. The default config is in Default.toml file.
Local config can be overriden by adding to Local.toml file and similarly production config can be overriden by adding to Production.toml
install k6
brew install k6generate json file of url to be tested using redash query name it urls.json and place it in stresstest folder.
run the tests
k6 run --iterations=100 --vus 10 stresstest/script.js