- Introduced UserDbService and UserDbServiceImpl for user data handling. - Added UserMapper for converting between User and UserRecord. - Implemented user creation and retrieval in the database. - Updated AuthRepository to include user-related methods. - Enhanced OIDC claims processing to include issuer information. - Created user table in the database with necessary fields and indexes.
Backend
Development
SQL Migration
-
Install sqlx
cargo install sqlx-cli
-
Run migration
sqlx migrate run
Run Project
-
Prepare for sql schema setup
cargo sqlx prepare --workspace
-
Run the server
RUST_LOG=debug cargo run
-
(Optional) Hot restart
-
Install
watchexec
-
Run the server with
watchexec
RUST_LOG=debug watchexec -e rs -r 'cargo run'
-