Migrated to native Rust and containerized Postgres.

This commit is contained in:
2026-09-21 22:10:11 +02:00
parent b1b81f60f9
commit 87c5e4bab1
5 changed files with 112 additions and 43 deletions
-5
View File
@@ -1,5 +0,0 @@
/target
.git
.env
.vscode
.DS_Store
+4
View File
@@ -0,0 +1,4 @@
RUST_LOG=info
HOST=127.0.0.1
PORT=3000
DATABASE_URL=postgres://expenses:expenses@localhost:5432/expenses
-8
View File
@@ -1,8 +0,0 @@
FROM rust:bookworm
RUN cargo install cargo-watch --locked \
&& cargo install sqlx-cli --version 0.8.6 --locked --no-default-features --features postgres,rustls
WORKDIR /app
CMD ["cargo", "watch", "--watch", "src", "--watch", "Cargo.toml", "--watch", "Cargo.lock", "--exec", "run --locked"]