added nested routes, added separate config struct, among other items

This commit is contained in:
wymiller committed 2024-09-24 20:26:15 -04:00
1 parent cf199ab48a
commit 845f058568
7 files changed
+164 -23

No files matched your search

+7 -1
View File
@@ -1,2 +1,8 @@
use crate::routes::comments::CommentInput;
use sqlx::PgPool;
pub struct CommentsDatasource;
impl CommentsDatasource {}
impl CommentsDatasource {
pub async fn get_posts_comments(pool: PgPool) {}
pub async fn insert_comment(pool: PgPool, comment_input: CommentInput) {}
}