ssomnoremac
ssomnoremac

Reputation: 759

Can Wolkenkit be used as just a server or with graphQL?

I really like the Wolkenkit server but when I looked at the client library it seemed a bit too opinionated and I might be using graphQL -- which I think will work well to wrangle all the read models. In that case, can I just use the server with http? What would be involved with that?

Upvotes: 2

Views: 260

Answers (1)

Golo Roden
Golo Roden

Reputation: 150842

Basically, you can access wolkenkit using HTTP or web sockets directly, without the need to use the JavaScript client SDK. All the client SDK does is wrapping the HTTP respective web socket calls in a convenience API.

The server is built upon tailwind, which is a base module for applications built with CQRS in mind. The best place to start is to have a look at the HTTP server API of tailwind, which is used by wolkenkit. There, one could also add a GraphQL endpoint.

Please note that I am one of the developers of wolkenkit, so please take my answer with a grain of salt.

Upvotes: 1

Related Questions