mirror of
https://github.com/Phundrak/georm.git
synced 2026-07-29 04:19:18 +02:00
feat(examples): add PostgreSQL example with user relationship
Adds an example demonstrating user, comment, and follower relationship including: - User management with profiles - Comments (not really useful, just for showcasing) - Follower/follozing relationships - Ineractive CLI interface with CRUD operations - Database migrations for the example schema
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
[package]
|
||||
name = "georm-users-comments-and-followers"
|
||||
workspace = "../../../"
|
||||
publish = false
|
||||
version.workspace = true
|
||||
edition.workspace = true
|
||||
|
||||
[dependencies]
|
||||
georm = { path = "../../.." }
|
||||
sqlx = { workspace = true }
|
||||
clap = { version = "4.4", features = ["derive"] }
|
||||
inquire = "0.7.5"
|
||||
thiserror = "2.0.11"
|
||||
tokio = { version = "1.43.0", features = ["full"] }
|
||||
Reference in New Issue
Block a user