lesson
A Beginner's Guide to GraphQL Schema LanguageThe newline Guide to Building Your First GraphQL Server with Node and TypeScriptThe GraphQL schema language is a human-readable syntax to help create GraphQL schemas. In this lesson, we'll use the GraphQL schema language to re-create the schema we have in a more readable and simpler format.
lesson
How to Use GraphQL Mutations and QueriesThe newline Guide to Building Your First GraphQL Server with Node and TypeScriptIn this lesson, we'll look to mimic the listings retrieval and manipulation we had in our Express RESTful API but with GraphQL instead.
lesson
How to Build a GraphQL Schema with GraphQL.jsThe newline Guide to Building Your First GraphQL Server with Node and TypeScriptIn this lesson, we'll use the Apollo Server and GraphQL JavaScript libraries to create a minimal GraphQL API that we'll be able to interact within an IDE known as GraphQL Playground.
lesson
How to Install Apollo Server for GraphQLThe newline Guide to Building Your First GraphQL Server with Node and TypeScriptIn this lesson, we'll install the Express variation of the popular Apollo Server library and the GraphQL JavaScript library.
lesson
GraphQL Schema, Object Types, and Function ExamplesThe newline Guide to Building Your First GraphQL Server with Node and TypeScriptIn this lesson, we introduce and discuss some of GraphQL's main concepts such as the GraphQL schema, object types and resolver functions.
lesson
GraphQL vs REST APIs, and When to Use GraphQLThe newline Guide to Building Your First GraphQL Server with Node and TypeScriptBefore we continue discussing some of the core concepts in GraphQL, we'll take a bit of a tangent in this lesson to contrast and compare Github's existing REST API (v3) and their GraphQL API (v4).
lesson
A GraphQL Tutorial for BeginnersThe newline Guide to Building Your First GraphQL Server with Node and TypeScriptGraphQL is a query language for APIs. In this lesson, we go through an initial discussion on GraphQL and how GraphQL differs from traditional REST APIs.
lesson
How to Build an Express API with GET and POST RoutesThe newline Guide to Building Your First GraphQL Server with Node and TypeScriptIn this lesson, we'll use the routing capabilities Express gives us to create GET and POST routes that interact with the mock data array we've established.
lesson
How to use ESLint to Check TypeScript Code for IssuesThe newline Guide to Building Your First GraphQL Server with Node and TypeScriptThough VSCode includes TypeScript language support which helps us pick up TypeScript errors in our TypeScript code, we'll introduce more robust code checking with ESLint - a popular open-source JavaScript/TypeScript linting tool.
lesson
How to Compile a TypeScript Node.js ProjectThe newline Guide to Building Your First GraphQL Server with Node and TypeScriptTypeScript is a development tool geared towards making building JavaScript applications more robust. In an application's deployed state (browser or server), TypeScript must be compiled to valid JavaScript. In this lesson, we'll see how the TypeScript compiler provides us with a command to compile and produce JavaScript code from TypeScript.
lesson
How to Set up a Node.js Server with TypeScriptThe newline Guide to Building Your First GraphQL Server with Node and TypeScriptWe'll get started with TypeScript in this lesson by installing a few necessary packages in our server and setting up the configuration of our TypeScript compiler.
lesson
What is TypeScript? A Beginner's GuideThe newline Guide to Building Your First GraphQL Server with Node and TypeScriptJavaScript is considered a weakly typed language. In this lesson, we'll go through a simple example of why that can be an issue in development and where TypeScript falls in the picture.