powerhouse-inc / powerhouse

https://powerhouse-design-system-six.vercel.app
0 stars 0 forks source link

Local Reactor Service #291

Open CallmeT-ty opened 2 months ago

CallmeT-ty commented 2 months ago

Local backend service with stripped down apollo interface that starts the reactor. Take switchboard and simplify it:

Make all of the above installable as a package. powerhousedao/reactor-service which functions as a graphql wrapper around the reactor.

CallmeT-ty commented 2 months ago

@acaldas @CallmeT-ty add package names we wanted to use

acaldas commented 2 months ago

Projects can do npm install @powerhousedao/connect and npm run connect to run the app locally.

acaldas commented 1 month ago

// reactor service accepts document drive as argument and returns express server // it's a express app // wraps document-drive with Graphql API

// switchboard // 1 init cache and db // 2 create document drive server // 3 call ReactorService(server) which returns an express server; // 4 wraps reactor service api with auth api

// CLI service runner // init connect studio // 1 memory cache + filesystem db (pgqlite in the future) // 2 create document drive server // 3 call ReactorService(server); // 4 add listener + trigger for connect studio // 5 add internal listener to auto-generate document models

Backlog: