4 Commits

Author SHA1 Message Date
c368293cd4 feat: Transform project into a cargo-generate template with configurable authentication features and improved local user registration. 2026-01-06 05:53:01 +01:00
d05f8a0001 refactor: store IssuerUrl as String to preserve exact formatting instead of Url type 2026-01-06 05:19:30 +01:00
32a0faf302 refactor: Replace raw strings with domain value objects for improved type safety in authentication and OIDC. 2026-01-06 05:16:16 +01:00
1d141c7a97 feat(api): implement user authentication and registration endpoints
- Add main application logic in `api/src/main.rs` to initialize server, database, and services.
- Create authentication routes in `api/src/routes/auth.rs` for login, register, logout, and user info retrieval.
- Implement configuration route in `api/src/routes/config.rs` to expose application settings.
- Define application state management in `api/src/state.rs` to share user service and configuration.
- Set up Docker Compose configuration in `compose.yml` for backend, worker, and database services.
- Establish domain logic in `domain` crate with user entities, repositories, and services.
- Implement SQLite user repository in `infra/src/user_repository.rs` for user data persistence.
- Create database migration handling in `infra/src/db.rs` and session store in `infra/src/session_store.rs`.
- Add necessary dependencies and features in `Cargo.toml` files for both `domain` and `infra` crates.
2026-01-02 13:07:09 +01:00