# Using Express with GraphQL - How to create a GraphQL server with Node.js/Express

DevFeed: [Using Express with GraphQL - How to create a GraphQL server with Node.js/Express](<https://devfeed.tech/articles/using-express-with-graphql-how-to-create-a-graphql-server-with-node-js-express-23560.md>)

Original publisher: [Read original article](<https://www.apollographql.com/blog/using-express-with-graphql-server-node-js>)

Author: Khalil Stemmler

Published: 2021-03-02T11:39:13Z

Content type: tutorial

Language: en

Sources: [Apollo Blog](<https://devfeed.tech/sources/apollo-blog.md>)

Topics: [Express](<https://devfeed.tech/topics/express.md>), [GraphQL](<https://devfeed.tech/topics/graphql.md>), [apollo-server](<https://devfeed.tech/topics/apollo-server.md>), [Node.js](<https://devfeed.tech/topics/node-js.md>), [HTTP](<https://devfeed.tech/topics/http.md>), [API](<https://devfeed.tech/topics/api.md>)

Tags: [api](<https://devfeed.tech/tags/api.md>), [apollo](<https://devfeed.tech/tags/apollo.md>), [authentication](<https://devfeed.tech/tags/authentication.md>), [backend](<https://devfeed.tech/tags/backend.md>), [express](<https://devfeed.tech/tags/express.md>), [graphql](<https://devfeed.tech/tags/graphql.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [http](<https://devfeed.tech/tags/http.md>), [js](<https://devfeed.tech/tags/js.md>), [middleware](<https://devfeed.tech/tags/middleware.md>), [node-js](<https://devfeed.tech/tags/node-js.md>), [rate-limiting](<https://devfeed.tech/tags/rate-limiting.md>), [rest](<https://devfeed.tech/tags/rest.md>), [security](<https://devfeed.tech/tags/security.md>)

## AI overview

A tutorial showing how to create a GraphQL server with Apollo Server and Express.js using the apollo-server-express package. It also explains the tradeoffs, including serving REST and GraphQL together, reusing Node.js middleware, and the additional boilerplate.

## Source excerpt

One of the fastest ways to get up and running with GraphQL is to install Apollo Server as middleware on your new or existing HTTP server. In this short post, we demonstrate how to use Apollo Server to create a GraphQL server with Express.js using the apollo-server-express package. At the end, we'll discuss the tradeoffs of this approach. Using Apollo Server with Express Let's start with the dependencies. Install dependencies You'll need the and packages.