May 2023 Summaries
7 posts from Wundergraph
Filter
Month:
Year:
Post Summaries
Back to Blog
The Easiest Way to Bake Auth Into Your Backend-for-Frontend with Clerk and WunderGraph` is a tutorial that explores the limitations of implementing authentication solely in the frontend or backend and presents an alternative approach using the Backends-for-Frontends (BFF) pattern. The BFF pattern acts as a dedicated mini-backend layer owned by the frontend team, created to cater specifically to the needs of that particular frontend or client. This allows for enhanced security, improved performance, and greater flexibility in authentication implementation. The tutorial also introduces WunderGraph, a framework that streamlines API composition with its intuitive approach, making it easier to build applications that rely on data from multiple sources. By integrating Clerk authentication into our WunderGraph BFF, we were able to leverage the powerful features and security provided by Clerk.com while benefiting from the simplicity and flexibility of WunderGraph.
May 31, 2023
2,455 words in the original blog post.
The WunderGraph Universal API ORM is a TypeScript-based ORM that provides a unified API for accessing data from various sources, including REST, SOAP, GraphQL, SQLite, MySQL, PostgreSQL, and more. It allows developers to access all their data sources through a single API, reducing the complexity of working with multiple APIs. The ORM uses the reverse API Gateway pattern, which sits behind the application, making it easier to manage cross-cutting concerns like authentication, authorization, rate limiting, caching, logging, error handling, and more. This approach provides benefits such as unified logging and error handling, distributed tracing, and reduced response payload. The WunderGraph Universal API ORM is an open-source project that aims to solve the problem of managing multiple APIs in a single application.
May 17, 2023
2,908 words in the original blog post.
The text discusses the limitations of GraphQL in solving the problems of underfetching, overfetching, and waterfall requests. It argues that while GraphQL has some theoretical benefits, it often fails to deliver in practice due to various factors such as the use of persisted operations, batching, and the lack of a standardized approach. The authors propose using Relay and WunderGraph as a solution to these problems by leveraging fragments, persisted operations, and a standardized way of structuring URLs. They claim that this approach can improve performance, security, and maintainability while making GraphQL more accessible and user-friendly.
May 12, 2023
2,919 words in the original blog post.
A company called WunderGraph is offering an alternative to Vercel's storage services, providing a free and open-source solution for serverless Postgres, Redis, and Blob Storage. By using WunderGraph, developers can avoid the premium pricing of Vercel and still access a range of features, including type-safe data fetching hooks, GraphQL operations, and server-side rendering. The alternative uses existing service providers such as Neon for PostgreSQL, Upstash for Redis, and Cloudflare R2 for blob storage, allowing developers to choose their preferred services while avoiding vendor lock-in and markup costs. With WunderGraph, developers can build a unified API exposed over JSON-RPC, integrate with various frameworks, and access data in a declarative and painless manner.
May 11, 2023
2,195 words in the original blog post.
We are hiring Golang Developers, DevOps Engineers and Solution Architects to help shape the future of Microservices, distributed systems, and APIs. By working at WunderGraph, you'll have the opportunity to build the next generation of API and Microservices infrastructure. Our customer base ranges from small startups to well-known enterprises, allowing you to impact at scale and build a network of industry professionals. Testing is an important part of any software development process, helping ensure that your code works as expected and catching bugs before they turn into problems for your users. We've built a testing library that helps you write end-to-end tests that are easy to read and maintain. Our approach starts with end-to-end tests, especially for API-integration testing. We use mocking to replace real objects with fake ones during testing, allowing us to speed up development and test edge cases without having to worry about writing tests against an outdated API specification. The testing library provides a simple way to verify that the WunderNode is started correctly, handles requests from clients, and custom hooks are working correctly. We use Vitess as our test runner and provide examples of how to write tests using our testing library.
May 08, 2023
1,614 words in the original blog post.
We're looking for Golang (Go) Developers, DevOps Engineers and Solution Architects who want to help us shape the future of Microservices, distributed systems, and APIs. By working at WunderGraph, you'll have the opportunity to build the next generation of API and Microservices infrastructure. Our customer base ranges from small startups to well-known enterprises, allowing you to not just have an impact at scale, but also to build a network of industry professionals. Relay is a game-changer because it thinks about consuming APIs from the frontend perspective and how you can build scalable and maintainable applications. With Relay and Fragments, we're able to collocate the data requirements with the component, while simultaneously decoupling the data fetching logic from the component. This allows us to build re-usable components that are decoupled from the data fetching logic. The Relay Compiler compiles, validates, optimizes and stores all GraphQL Operations at build time, reducing the overhead at runtime and providing a secure-by-default experience. WunderGraph and Relay are a match made in heaven, both being declarative, type-safe, secure-by-default, and local-first. With this stack, you're not limited to just GraphQL APIs and React, but can use Relay with REST APIs or SOAP, and are not limited to React.
May 05, 2023
2,039 words in the original blog post.
WunderGraph is a free and open-source Backend-for-Frontend framework that allows developers to declaratively turn their data dependencies into a secure, unified, and extensible API exposed over JSON-RPC. It enables the separation of concerns between frontend and backend components, making it an essential solution for modern GraphQL Federation. Istio is an open-source service mesh that makes managing, securing, and shaping all traffic and communication between microservices possible without writing code. AWS Serverless Computing provides a cloud computing model where developers can build and run applications without having to manage the underlying infrastructure. Clerk/Auth.js offers a simple, secure, regularly-audited, best-practices way to add authentication to applications with drop-in components and pages. Axiom, Grafana, and Datadog provide performance monitoring, analytics, and logging capabilities to help developers identify and troubleshoot issues in their applications. NextJS/Remix can be used as a BFF by definition due to its full-stack development features. These tools aim to streamline the development of complex web applications, boost developer velocity, and provide the best user experience regardless of the platforms being supported.
May 02, 2023
2,871 words in the original blog post.