2018年8月13日

使用caddy 进行nodejs web应用近实时编译更新

摘要: caddy 相比nginx 是一个不错的轻量代理服务器,支持的功能也是比较多的, 同时插件也挺多 demo 测试的是通过git 插件进行一个使用spec-md 编写的文档近实时编译以及预览 项目使用docker 构建,我已经在dockerhub 放了构建好的镜像 基本项目 website nodej 阅读全文

posted @ 2018-08-13 16:20 荣锋亮 阅读(1190) 评论(0) 推荐(0) 编辑

graphql-binding openapi 集成demo

摘要: 类似的将openapi 转换为graphql api 的也有 https://github.com/yarax/swagger-to-graphql 基本项目 参考代码 https://github.com/rongfengliang/graphql-binding-openapi-docker 项 阅读全文

posted @ 2018-08-13 11:18 荣锋亮 阅读(245) 评论(0) 推荐(0) 编辑

获取 graphql schema 信息

摘要: 模块 npm install -g get-graphql-schema get-graphql-schema GRAPHQL_URL > schema.graphql 简单使用 使用prisma cli prisma init appdemo cd appdmeo docker-compose u 阅读全文

posted @ 2018-08-13 10:27 荣锋亮 阅读(408) 评论(0) 推荐(0) 编辑

转 GraphQL Schema Stitching explained: Schema Delegation

摘要: 转自官方文档 In the last article, we discussed the ins and outs of remote (executable) schemas. These remote schemas are the foundation for a set of tools a 阅读全文

posted @ 2018-08-13 09:13 荣锋亮 阅读(510) 评论(0) 推荐(0) 编辑

转 How do GraphQL remote schemas work

摘要: 文章转自 prisma 官方博客,写的很不错 In this article, we want to understand how we can use any existing GraphQL API and expose it through our own server. In that se 阅读全文

posted @ 2018-08-13 09:03 荣锋亮 阅读(436) 评论(0) 推荐(0) 编辑

导航