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

Summary

At this point, we have set up our Node.js server with Express.js and bound Apollo Server to respond to requests on a GraphQL endpoint. We are able to handle queries, return fake data, and mutate that data with GraphQL mutations.

Furthermore, we can log every process in our Node.js server. Debugging an application with Postman leads to a well-tested API, which can be used later in our front end.

In the next chapter, we will learn how to persist data in a SQL server. We will also implement models for our GraphQL types and cover migrations for our database. We need to replace our current resolver functions with queries via Sequelize.

There is a lot to do here, so read on for more.

主站蜘蛛池模板: 房产| 吕梁市| 遵化市| 香河县| 方正县| 岳普湖县| 克拉玛依市| 永昌县| 会东县| 井陉县| 建湖县| 兖州市| 庄浪县| 桑植县| 海阳市| 阿巴嘎旗| 伊金霍洛旗| 呼图壁县| 昌吉市| 北海市| 吉林省| 永靖县| 龙南县| 佛山市| 万全县| 南皮县| 安图县| 湛江市| 铁岭县| 安乡县| 巴林左旗| 陵川县| 准格尔旗| 庆元县| 沙湾县| 大姚县| 普格县| 荥经县| 涞源县| 武城县| 建水县|