Menu

React, etc. Tech Stack

React, Flux, GraphQL, Hack, HHVM...? All of this and more!

Nest TypeScript framework for Node.js gets GraphQL support

Nest is a full stack framework for Node.js written in TypeScript. The framework builds on the popular Express.js Node micro framework, but adds more capabilities and strong typing. Now Nest has added an official GraphQL support to their repertoar.

While Nest is written in TypeScript, it preserves compatibility with vanilla JavaScript. Nest aims to combine best of multiple programming paradigms and claims to be a hybrid of Object Oriented Programming (OOP), Functional Programming (FP) and Functional Reactive Programing (FRP).

GraphQL is an alternative to RESTful APIs. It was released by Facebook in 2015 after starting it's development in 2015. GraphQL is a type safe specification and protocol, which means it pairs well together with TypeScript, a superset of JavaScript that adds strong typing and other features to the ECMAScript specification.

Instead of reinventing the wheel, the Nest project has decided to build their GraphQL integration on an existing library - the Apollo GraphQL toolkit. With the GraphQL implementation in Nest being a wrapper, the integration is a solid way to write typesafe APIs with TypeScript.

Learn more from the Nest.js GraphQL Integration documentation

Written by Jorgé on Monday January 8, 2018

Permalink -

« Mining Bitcoins with browsers and JavaScript - PHP 8.0 Release Date and the status of JIT in PHP »