在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):brianschardt/node_graphql_apollo_template开源软件地址(OpenSource Url):https://github.com/brianschardt/node_graphql_apollo_template开源编程语言(OpenSource Language):TypeScript 93.1%开源软件介绍(OpenSource Introduction):Node Graphql Apollo Template for TypescriptMy goal for this template is not to explain the basics of graphql, but to show someone how to quickly build a Graphql API that does not have the n + 1 issue. This template IS MEANT to be used for production as it contains easy ways to manage environment variables, and has an organized structure so code will not get out of hand. To manage the n + 1 issue, we use data loading, the thing facebook released to solve this issue. Here is a link that goes over the code in this package in more detail. https://medium.com/@brianalois/best-graphql-node-api-template-for-sql-jwt-2018-5e956b715143 Authentication : JWTORM: SequelizeDatabase: Mysql, or PostgresOther Important packages used: express, apollo-server, graphql-sequelize, dataloader-sequelize Note: This uses typescript for the app. It is so similar to javascript, you could never have used typescript and add to this template. However, I will be writing this to use plain javascript. Comment if you would like that. |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论