From 2f370afd45259898929825549e669c9be25f751f Mon Sep 17 00:00:00 2001 From: Dimitrie Stefanescu Date: Mon, 12 Feb 2024 11:28:37 +0000 Subject: [PATCH] Update README.md --- README.md | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 823364e..2f52357 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ after the app and its dependencies have been started This project is using [`pnpm`](https://pnpm.io/) as its package manager. To start the required databases or other dependencies, run `docker compose up -d` -## about Postgres setup +## About Postgres setup I had to change the `wal_level` on my local postgres instances it is done with running the SQL command below, and restating the database server: @@ -19,6 +19,8 @@ it is done with running the SQL command below, and restating the database server ALTER SYSTEM SET wal_level = logical; ``` +Note: Postgres subscriptions (which we use) in the same db server don't work that easily; easiest way to get things going is to set up multiple db servers locally. + ## Project description The app has these basic concepts: @@ -47,4 +49,14 @@ When providing a connection url to a region, make sure to not include a database A collection of users and an owner of resource. Any user may create organizations. Organizations may be granted access to any given region. That action creates a new database in the region DB server. migrates it to the latest DB schema and sets up user and resource publish and subscribe mechanisms. -### +## Steps to flex this POC + +Using the exposed graphql explorer, you can go ahead and +- create a user +- create an organisation +- add the user to the organisation +- create regions & associate them with an organisation +- create a resource in the default organisation, or for a specific organisation & region +- etc. + +