Use GraphQL with Express, Hapi, Koa, Lambda, Micro, Restify, etc.

Image for post
Image for post

Today, after more than a year of development, testing and production use, we’re proud to announce the 1.0 release of Apollo Server! 🎉

Late edit: We also just announced Apollo Optics is now free for most apps, up to 1 million queries per month! Try out Optics to visualize, monitor, and track your GraphQL API.

Apollo Server is a community-maintained, open-source GraphQL server. It works with all Node.js HTTP server frameworks: Express, Connect, Hapi, Koa, AWS Lambda, Restify and Micro. It is built on top of the graphql-js reference implementation.

Apollo Server is built with the following principles in mind:

  • By the community, for the community: Apollo Server’s development is driven by the needs of developers. …

Full-stack GraphQL + React Tutorial — Part 4

This is part 4 of our Full-stack React + GraphQL tutorial series. Each part is self-contained and introduces one new, key concept, so you can either do each part separately or follow the entire series — it’s up to you!

Here are the sections we’ve covered so far:

In this part, we’re going to dive a little bit deeper into how GraphQL mutations are handled on the client. We’ll take the list view and mutation from part 3, simulate a network latency of 500 milliseconds, and then use store updates and Optimistic UI to make the latency all but disappear from the perspective of the user. …

How Apollo will deliver a unified, incrementally adoptable experience across all three platforms

Earlier this month we launched Apollo Client 1.0, and it was super exciting: There were some great comments on the Hacker News thread, a ton of new downloads, and many new developers joined the Apollo community.

Our core idea — that managing data in your frontend should be simple — has really resonated with people. That’s what Apollo is all about. We’re working hard with the GraphQL community to make data loading and management straightforward, so you can focus on building a great app.

While Apollo Client for JavaScript is the most well-known of the Apollo projects, we also have two excellent, rapidly-growing native clients for iOS and Android. Just last week, we announced Apollo Android 0.3, …

Codename: Pink Panther

Today, we are proud to announce Apollo Client 1.0, “Pink Panther”! Apollo Client is now fully featured, stable and production-ready. If you’ve been holding off on trying GraphQL or Apollo, now’s a great time to check it out.

Image for post
Image for post

Apollo Client is a client-side library that leverages the power of a GraphQL API to handle data fetching and management for you, so that you can spend less time plumbing data and more on building your application.

Try it now with the interactive example on our home page.

I’m absolutely amazed and humbled by how far Apollo Client has come since the project’s start a little over a year ago. We set out to build a modular and powerful GraphQL client that works with any view layer. …

How to modify data on the server and keep the client in sync

In this tutorial, you’ll learn how to use a simple mutation to modify data on the server and keep the state synchronized on your clients. Specifically, we’ll create a mutation that adds an item to a list.

Image for post
Image for post
The mutation call you’ll write in this tutorial

This post is part of a tutorial series on GraphQL + React. Here are the other parts:

Set up a simple GraphQL server in 5 steps

This is the second part of our full-stack tutorial series that will walk you step by step through building an instant messaging app with React and GraphQL.

Note: Even if you haven’t seen Part 1, you can continue reading here. This tutorial is completely independent from the first part, and you don’t need any code or knowledge from Part 1 to complete Part 2!

Last week, in the first part of this series, I walked you through building a simple frontend with React and GraphQL, and showed you some of the reasons why GraphQL is becoming a pretty popular choice among frontend developers. …

Try the first release candidate today!

Today I have an exciting announcement: After almost a year, 2,800 commits, 100 releases, and the work of over 100 amazing contributors, we are getting ready to launch Apollo Client 1.0!

We and many others have been using Apollo Client in production for almost a year now, and we’re very happy with the current API. The transition to 1.0 means we are sticking with this API for a while, even as we continue making incremental changes.

The publication of our first release candidate marks the start of the final testing period before the official release. During this period, we want as many people as possible to try it out and report bugs and other issues so we can make sure Apollo Client is in great shape for the launch. …

Part 1 — the frontend: Declarative data fetching and mocking with Apollo

This tutorial uses an old version of Apollo Client, and we’re working on updating it soon. For a more up to date introduction to the new constructor API, check out this getting started guide. Most of this tutorial will be identical and can be completed with the new API.

Image for post
Image for post

GraphQL is a new API-definition and query language that has the potential to become the new REST. It makes it easy for UI components to declaratively fetch data without having to worry about backend implementation details. …

GraphQL by the community & for the community

As Thea wrote in her announcement blog post last week, the idea for contributor week came to us when we were having our own hack week back in November. We had a lot of fun working on cool projects like the Apollo Chrome Developer Tools together, so we started contributor week to share the fun with you!

Let’s get straight to the point. Here’s what you’ll find in this post:

  1. A schedule for the week
  2. Instructions for contributors
  3. Participating repositories

1. Contributor week schedule

Watch our Youtube live video to kick off contributor week. We’ll go over the logistics of the week, make some suggestions for things to do, introduce the maintainers of various repos, and answer questions. …

A smaller, better and faster client for GraphQL

In my last blog post I wrote about how Apollo Client had passed feature parity with Relay and was ready for production use. In the three months since, Apollo Client has become a lot smaller, faster and better thanks to hard work from our engineers and the projects’ many open source contributors. Apollo Client even has its own developer tools now! All of this makes me very excited and optimistic about the future of Apollo Client and our plans to make it even better.

In this release, we focused on three things:

  • size
  • speed
  • simplicity

The goal is to make Apollo Client the fastest, smallest and simplest caching GraphQL client. To get there, we’re simplifying the core and making it incredibly fast. On top of that, we’re making Apollo Client modular so it will be easy to get just the functionality that you need in your app without any extra weight. …


Jonas Helfer

Software Engineer from Switzerland, now living in San Francisco. GraphQL Evangelist @databricks

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store