AadamZ5 / AadamZ5/hddmond

Integrate GraphQL into backend

未关闭
#1 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
todo
主要语言
Python
星标
3
派生
0
PR 合并指标
30 天内没有已合并 PR

描述

The old stack used a separate NodeJS application for the GraphQL API. This was because I was learning how to do GraphQL and followed a tutorial that stepped through making a common GraphQL database shim.

Now with more advanced knowledge, the GraphQL API endpoint should be integrated into the app itself. This way separate stacks don't have to be deployed alongside this backend, regardless of the simplicity of the backend. Additionally, we can then unify the web-app's data transmission relying only on GraphQL in the far future.

- [x] Research GraphQL python libraries ([strawberry](https://github.com/strawberry-graphql/strawberry) looks great!)
- [x] Backend refactor
- [x] Class layout
- [ ] GraphQL server in python backend
- [ ] Use GraphQL for real-time updates
- [ ] Abolish legacy websocket endpoint

贡献指南

这个仓库没有索引到贡献指南

调研方向

该 issue 描述了将 GraphQL 服务器集成到现有 Python 后端中,以替换一个独立的 NodeJS 应用程序。研究其中提到的 strawberry 库,并检查当前的后端结构,以了解类的布局和现有的 websocket endpoint。目标是实现 GraphQL 服务器,并最终将其用于实时更新,同时移除 legacy websocket。

由索引模型根据 Issue 内容生成。

评估

技术栈
graphql
领域
api, backend
Issue 类型
重构
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。