A Simple Authentication Server Written in Rust
Up the database
cd dev
docker compose up -dbuild
cargo buildRun
cargo runSome extra linux packages are needed for it
sudo apt-get install libmariadb-dev-compat libmariadb-dev
export MYSQLCLIENT_INCLUDE_DIR=/usr/include/mariadb
export MYSQLCLIENT_LIB_DIR=/usr/lib/x86_64-linux-gnu
export MYSQLCLIENT_VERSION=10.5.9 # Replace with your installed versionNew Table
diesel migration generate new_tableRun
diesel migration runNote: You have to write sql for migrations which is sequential in nature why bcoz diesel works like that i.e no joins table first then all tables that have kind of joins