summaryrefslogtreecommitdiff
path: root/config.toml
diff options
context:
space:
mode:
authorgarder500 <jeremy27.clara22@gmail.com>2025-10-26 15:29:23 +0100
committergarder500 <jeremy27.clara22@gmail.com>2025-10-26 15:29:23 +0100
commitfc485c8de10e6dea63054278c8d30d24d87fd621 (patch)
treec314a952e53a819dc62a796b63e8b76cc5ee8ba4 /config.toml
parent2f3ab35c11a82a77aee77f91a83ddf9a5b6aea12 (diff)
feat: add gRPC services for User, Project, and Organization management
- Implemented UserService with methods for GetUser, CreateUser, UpdateUser, and DeleteUser. - Implemented ProjectService with methods for GetProject, CreateProject, UpdateProject, and DeleteProject. - Implemented OrganizationService with methods for GetOrganization, CreateOrganization, UpdateOrganization, and DeleteOrganization. - Defined corresponding request and response message types for each service. - Generated gRPC code from proto definitions for seamless integration.
Diffstat (limited to 'config.toml')
-rw-r--r--config.toml22
1 files changed, 22 insertions, 0 deletions
diff --git a/config.toml b/config.toml
new file mode 100644
index 0000000..fae791d
--- /dev/null
+++ b/config.toml
@@ -0,0 +1,22 @@
+region = "supabase"
+
+[rpc]
+rpc_secret = "random_secret_12345"
+rpc_addr = "[::]:8080"
+
+[api]
+api_addr = "[::]:3000"
+api_domain = "example.com"
+
+[internal_db]
+manager = "sqlite"
+uri = "./database/internal.db"
+
+[external_db]
+manager = "postgres"
+uri = "postgres://root:password@localhost:5432/"
+
+[cluster]
+node_id = "node-01"
+is_rpc_server = true
+rpc_servers = ["[::]:8080"]