githubnext/chopinPublic

Let's compose rich plans together

Add hosted storage foundation

KCKrzysztof Cieslak authored committed by Krzysztof Cieślak
8cc09acPatch
Parent729e1d5
29 files changed+2631-66
StackedSplit
.env.example+4 −0
.github/workflows/ci.yml+18 −0
apps/server/package.json+1 −0
apps/server/src/client.test.ts+1 −0
apps/server/src/comments.wire.test.ts+1 −0
apps/server/src/config.test.ts+45 −4
apps/server/src/config.ts+24 −0
apps/server/src/main.test.ts+1 −0
apps/server/src/main.ts+172 −52
apps/server/src/plan.test.ts+1 −0
apps/server/src/storage/contract.ts+384 −0
apps/server/src/storage/errors.ts+28 −0
apps/server/src/storage/memory/adapter.test.ts+4 −0
apps/server/src/storage/memory/adapter.ts+446 −0
apps/server/src/storage/migrate.ts+21 −0
apps/server/src/storage/model.ts+153 −0
apps/server/src/storage/port.ts+71 −0
apps/server/src/storage/postgres/adapter.test.ts+14 −0
apps/server/src/storage/postgres/adapter.ts+856 −0
apps/server/src/storage/postgres/migrations.ts+75 −0
apps/server/src/storage/postgres/migrations/001_initial.sql+101 −0
apps/server/src/storage/postgres/startup.test.ts+85 −0
apps/server/src/storage/registry.ts+17 −0
apps/web/src/collab.test.ts+1 −0
compose.yaml+19 −0
docs/storage.md+55 −0
e2e/playwright.config.ts+1 −0
package.json+4 −0
readme.md+28 −10