Aubonmeeple (aka scrappy) is a small project developped in rust aiming to scrap Okkazeo, a french 2nd hand boardgame selling website and compare its price to the new version from different stores in order to see if it's a good deal or not.
At the root directory , execute the following script :
chmod +x ./helper/deploy.sh
./helper/deploy.sh
Then follow the prompt questions.
Project is divided into 2 binaries, frontend and backend. Backend do queries and fill the DB, frontend do DB queries and serves html pages. To compile them :
cargo build
To test your stuff, you can simply start the backend in one terminal and the frontend in another.
The provided Dockerfile
has two target steps (frontend
and backend
) that extends on the same base build step
docker build --target backend -t aubonmeeple-backend .
docker build --target frontend -t aubonmeeple-frontend .
Feel free to contribute or do feature requests :)