Commit Graph

3 Commits

Author SHA1 Message Date
GW_MC
b0c11c7c67 feat: add admin initialization and database migration tasks 2025-12-15 15:54:52 +08:00
GW_MC
537737b1cc refactor configs into a crate 2025-11-27 18:59:40 +08:00
GW_MC
e849b71a40 Implement API setup with configuration management and startup tasks
- Add `Cargo.toml` for API with dependencies.
- Create `config.rs` for managing application settings.
- Implement logging and server settings in `config.rs`.
- Add `main.rs` to initialize the application and handle database connections.
- Introduce `task` module with startup tasks, including database migrations.
- Update `.gitignore` to exclude `config.yaml` and remove `.gitkeep`.
2025-11-26 19:45:37 +08:00