Api that handles syncing of the PotatoSync app, written in rust.
This api is going to replace the previous sync api.
- Latest Rust Nightly
- Cargo installed
- Install Postgres client dependencies
apt install libpq
- Install Diesel CLI
cargo install diesel_cli --no-default-features --features postgres
- Create tables
diesel migration run
- Build and run
cargo run --debug for debug build, --release for release build (Faster)