hoangvvo / benzene

⌬ Fast, minimal, agnostic GraphQL Servers ⌬
https://benzene.vercel.app
Other
164 stars 6 forks source link
cloudflare-workers deno graphql graphql-server javascript node websocket

Stereo

Benzene is a new take on GraphQL server that gives us the control we need while staying blazing fast.

CI codecov PRs Welcome

Features

The @benzene/http and @benzene/ws packages allow us to build a full-featured GraphQL server, featuring:

We are taking an approach opposite to Apollo Server, which abstracts everything behind its applyMiddleware function that includes unexpected and hard-to-customized "defaults". While our approach requires a bit more boilerplate, we achieve an observable and customizable server integration.

Documentation

Documentation is available at benzene.vercel.app

There is also a Getting Started section which shows how to build a real-time book voting app using both @benzene/http and @benzene/ws.

Examples

There are also various examples for integrations with different tools and frameworks.

Contributing

This repository uses the new npm v7 workspaces (yarn 1 workspace may also work). Please see contributing.md.

License

MIT