Skip to content

Serverless API Gateway for GraphQL, REST, gRPC, Kafka and more with a focus on API Composition & Integration.

License

Notifications You must be signed in to change notification settings

andreimc/wundergraph

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PRs welcome License Apache 2 Enterprise support

Quickstart   •   Website   •   Docs   •   Examples   •   Blog

Join our Discord Server Tweet at us on Twitter

Note: 🌍 We are working on a serverless version of WunderGraph. If you're interested, please see here.

What is WunderGraph?

WunderGraph is the Serverless API Developer Platform with a focus on Developer Experience.

At its core, WunderGraph combines the API Gateway pattern with the Backend for Frontend (BFF) pattern to create the perfect Developer Experience for working with APIs.

Take all your (micro-)services, Databases, File Storages, Identity Providers as well as 3rd party APIs and combine them into your own Firebase-like Developer Toolkit, without getting locked into a specific vendor.

Imagine that each of your applications could have its own dedicated BFF, while being able to share common logic across all your applications, that's the WunderGraph Experience.

Getting started

The fastest way to get started with WunderGraph is to open a Gitpod. After bootstrapping the examples/simple is started.

Open in Gitpod

You can also follow the Quickstart (5 min) if you don't want to use Gitpod.

Examples:

The WunderGraph Stack

WunderGraph is made up of the three core components:

  • wunderctl: A command line tool to create, deploy and manage your WunderGraph application.
  • SDK: Auto-generated and type-safe client to configure and interact with your WunderGraph.
  • WunderHub The Package Manager for APIs that allows you to share and integrate your API's in a few clicks.

The auto-generated type-safe client can be used in any Node.js or TypeScript backend application (including serverless applications and microservices).

Core features

  • Unified Graph: Combine all your data sources into a unified GraphQL Schema.
  • JSON-RPC: Expose GraphQL operations through JSON-RPC. Learn more about this design choice.
  • Type-Safe Clients: Auto generate custom type-safe API Clients with Authentication / Authorization and file upload support.
  • Customizable: Customizable gateway logic with TypeScript.
  • Standards: Build upon standards like GraphQL, OpenAPI, OAuth2, S3...
  • Open Source: 100% Open Source, No vendor lock-in.
  • Community: First-class support for frameworks like Next.js, React, Svelte...

Note: WunderHub is our vision of the Package Manager for APIs. Like npm, but for APIs. Sign up for free!

Architecture & Key Differentiators

You can learn more about the architecture of WunderGraph and why we’ve built it this way in the architecture section.

Learn more about WunderGraph

If you'd like to get a quick overview, have a look at these annotated example snippets.

How does WunderGraph work

This section provides a high-level overview of how WunderGraph works and its most consumer centric components. For a more thorough introduction, visit the architecture documentation.

After initializing your first WunderGraph application with npx create-wundergraph-app <project-name> -E simple, you have a NPM package and a .wundergraph folder. This folder contains the following files:

  • wundergraph.config.ts - The primary config file for your WunderGraph application. Add data-sources and more.
  • wundergraph.operations.ts - Configure authentication, caching and more for a specific or all operations.
  • wundergraph.server.ts - The hooks server to hook into different lifecycle events of your gateway.

After configuring your data-sources, you can start writing operations. An operation is just a *.graphql file. The name of the file will be the operation name. You can write queries, mutations and subscriptions that spans multiple data-sources. Each operation will be exposed securely via HTTP JSON-API through the WunderGraph gateway. After writing your operations, you can start deploying your WunderGraph application.

Contributing

Read the CONTRIBUTING.md to learn how to contribute to WunderGraph.

Security

We are thankful for any and all security reports. Please read the SECURITY.md to learn how to report any security concerns to WunderGraph.

Community & Support

  • GitHub Issues. Best for: bugs and errors you encounter using WunderGraph.
  • Email Support. Best for: specific questions around WunderGraph as an early enterprise adopter.
  • Slack Support. Best for: problems with WunderGraph as an enterprise customer.
  • Discord. Best for: sharing your applications and hanging out with the community.
  • Feedback and Feature Requests. Best for: discussing and voting on feature requests and giving feedback to our developers.

Enterprise

We're a small but growing team of API Enthusiasts, thrilled to help you get the best Developer Experience of working with APIs. Our Support Plans are tailored to help your teams get the most out of WunderGraph. We love building close relationships with our customers, allowing us to continuously improve the product and iterate fast. Our sales team is available to talk with you about your project needs, pricing information, support plans, and custom-built features.

Use this Link to contact our sales team for a demo.

About

Serverless API Gateway for GraphQL, REST, gRPC, Kafka and more with a focus on API Composition & Integration.

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 55.3%
  • Go 36.6%
  • JavaScript 5.7%
  • CSS 1.2%
  • HTML 0.6%
  • Shell 0.5%
  • Other 0.1%