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

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.

主站蜘蛛池模板: 襄城县| 天台县| 鸡东县| 望奎县| 黄石市| 陇西县| 安泽县| 杂多县| 蒲城县| 凤山市| 冕宁县| 奉新县| 万源市| 招远市| 五大连池市| 彩票| 曲阳县| 乐清市| 古浪县| 遵义县| 庆元县| 红桥区| 广灵县| 商河县| 长寿区| 崇仁县| 承德市| 松潘县| 左贡县| 桃园县| 丰台区| 利津县| 徐汇区| 内黄县| 于都县| 安图县| 岚皋县| 绥化市| 维西| 玉山县| 五大连池市|