# Building a GraphQL API - GraphQL API example

DevFeed: [Building a GraphQL API - GraphQL API example](<https://devfeed.tech/articles/building-a-graphql-api-graphql-api-example-23237.md>)

Original publisher: [Read original article](<https://www.apollographql.com/blog/building-a-graphql-api>)

Author: Khalil Stemmler

Published: 2021-03-04T12:16:08Z

Content type: tutorial

Language: en

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

Topics: [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>), [Command-line interface](<https://devfeed.tech/topics/cli.md>)

Tags: [apollo](<https://devfeed.tech/tags/apollo.md>), [command-line](<https://devfeed.tech/tags/command-line.md>), [graphql](<https://devfeed.tech/tags/graphql.md>), [node-js](<https://devfeed.tech/tags/node-js.md>), [resolvers](<https://devfeed.tech/tags/resolvers.md>), [schema](<https://devfeed.tech/tags/schema.md>), [server](<https://devfeed.tech/tags/server.md>)

## AI overview

A tutorial that builds a books API with GraphQL and Apollo Server using Node.js. It covers project setup, schema design, resolvers, server initialization, running the API, and querying it with a GraphQL IDE.

## Source excerpt

GraphQL is the modern way to create flexible, robust, and strictly-typed APIs. In this post, we'll walk through creating a books API from scratch. At the end, we'll discuss the most common concerns and next steps as you build out your GraphQL API. Prerequisites - You understand what GraphQL is - You know the difference between GraphQL queries and mutations - You're familiar with the command line - You have Node.js (8+) installed Getting started Create a new project Let's start by creating a...