Skip to content

Commit

Permalink
Merge pull request #43 from Frixxie/11-add-endpoints-for-managing-pic…
Browse files Browse the repository at this point in the history
…tures

11 add endpoints for managing pictures
  • Loading branch information
Frixxie authored Oct 20, 2024
2 parents 30328c6 + 34ec84f commit 9672085
Show file tree
Hide file tree
Showing 7 changed files with 367 additions and 319 deletions.
113 changes: 52 additions & 61 deletions backend/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions backend/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ version = "0.1.0"
edition = "2021"

[dependencies]
anyhow = "1.0.88"
axum = { version = "0.7.5", features = ["macros"] }
anyhow = "1.0.89"
axum = { version = "0.7.7", features = ["macros"] }
chrono = { version = "0.4.38", features = ["serde"] }
log = "0.4.22"
rust-s3 = "0.35.1"
Expand All @@ -19,5 +19,5 @@ tower = { version = "0.5.1", features = ["tokio", "tracing"] }
tower-http = { version = "0.5.2", features = ["trace"] }

[dev-dependencies]
reqwest = { version = "0.12.7", features = ["native-tls", "json"] }
reqwest = { version = "0.12.8", features = ["native-tls", "json"] }
pretty_assertions = "1.4.1"
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
-- Add migration script here

DROP TABLE pictures;

CREATE TABLE files(id SERIAL UNIQUE PRIMARY KEY NOT NULL, hash TEXT NOT NULL, object_storage_location TEXT NOT NULL)
Loading

0 comments on commit 9672085

Please sign in to comment.