apollo-server-vercel:for用于Vercel无服务器功能的可用于生产的Node.js GraphQL服务器

时间:2021-02-12 14:00:25
【文件属性】:
文件名称:apollo-server-vercel:for用于Vercel无服务器功能的可用于生产的Node.js GraphQL服务器
文件大小:514KB
文件格式:ZIP
更新时间:2021-02-12 14:00:25
graphql apollo nextjs graphql-server apollo-server :black_circle: Apollo服务器Vercel 无服务器功能的可量产的Node.js GraphQL服务器。 注意:这些文档可能会更改,因为此库正在建设中。 期望事情被打破! :package: 安装 在可部署到Vercel的现有应用程序(例如 )中,将以下内容添加到项目的依赖项中: npm install --save @saeris/apollo-server-vercel graphql # or yarn add @saeris/apollo-server-vercel graphql 如果您打算为该库的开发做出贡献,请仅克隆该存储库! 请阅读下面的“部分以获取更多详细信息。 :wrench: 用法 请阅读Vercel的文档,或者如果您使用的是Nextjs,请遵循其的。 另请注意,该库仅适用于Vercel的托管平台。 如果打算将Nextjs应用程序部署到其他平台(如Netlify),则需要使用 。 该库的API
【文件预览】:
apollo-server-vercel-master
----api()
--------example.ts(759B)
----.gitignore(291B)
----codecov.yml(64B)
----package.json(3KB)
----src()
--------__test__()
--------__mocks__()
--------index.ts(105B)
--------setHeaders.ts(230B)
--------ApolloServer.ts(6KB)
--------vercelApollo.ts(1KB)
----LICENSE.md(1KB)
----sandbox.config.json(111B)
----.travis.yml(295B)
----jest.config.js(396B)
----tsconfig.json(515B)
----static()
--------share-card.png(225KB)
--------favicon.ico(56KB)
----.eslintrc.js(11KB)
----README.md(5KB)
----.lintstagedrc(91B)
----vercel.json(164B)
----.babelrc.js(636B)
----.fiddly.config.json(309B)
----.npmignore(85B)
----styles()
--------styles.css(647B)
----.prettierrc(185B)
----yarn.lock(545KB)

网友评论