diff options
Diffstat (limited to '')
-rw-r--r-- | src/routes/artworks.rs | 23 | ||||
-rw-r--r-- | src/routes/artworks/comments.rs | 11 |
2 files changed, 34 insertions, 0 deletions
diff --git a/src/routes/artworks.rs b/src/routes/artworks.rs new file mode 100644 index 0000000..556265f --- /dev/null +++ b/src/routes/artworks.rs @@ -0,0 +1,23 @@ +use poem::{handler, web::Path}; + +pub mod comments; + +#[handler] +pub async fn post() { + todo!() +} + +#[handler] +pub async fn get() { + todo!() +} + +#[handler] +pub async fn put() { + todo!() +} + +#[handler] +pub async fn delete() { + todo!() +} diff --git a/src/routes/artworks/comments.rs b/src/routes/artworks/comments.rs new file mode 100644 index 0000000..dfac733 --- /dev/null +++ b/src/routes/artworks/comments.rs @@ -0,0 +1,11 @@ +use poem::handler; + +#[handler] +pub async fn post() { + todo!() +} + +#[handler] +pub async fn delete() { + todo!() +} |