官术网_书友最值得收藏!

Setting up GraphQL with Express.js

The basic setup and prototype for our front end are now complete. Going further, we need to get our GraphQL server running to begin implementing the back end. Apollo and Express.js are going to build the basis for our back end.

This chapter explains the installation process for Express.js, as well as the configuration of our GraphQL endpoint. We will quickly go through all the essential features of Express.js and the debugging tools for our back end.

This chapter covers the following points:

  • Express.js installation and explanation
  • Routing in Express.js
  • Middleware in Express.js
  • Binding Apollo Server to a GraphQL endpoint
  • Serving static assets with Express.js
  • Back end debugging and logging
主站蜘蛛池模板: 正宁县| 原阳县| 柳江县| 汶川县| 浙江省| 赤壁市| 临江市| 霸州市| 修武县| 夏津县| 乌鲁木齐县| 宜州市| 玉田县| 来安县| 许昌市| 泰宁县| 莲花县| 宣恩县| 正宁县| 夹江县| 宝清县| 乌拉特中旗| 南陵县| 平阴县| 兴安县| 齐齐哈尔市| 会昌县| 土默特右旗| 灌南县| 北辰区| 西充县| 海林市| 镇远县| 临清市| 伊宁县| 天津市| 扶风县| 英山县| 吉木乃县| 常德市| 塔城市|