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`.
This commit is contained in:
GW_MC
2025-11-26 19:42:44 +08:00
parent 56c1161e97
commit e849b71a40
9 changed files with 840 additions and 4 deletions

View File

@@ -1,5 +1,6 @@
[workspace]
members = [
"apps/api",
"apps/container",
"apps/cli",
"public/shared",