Skip to content

Latest commit

 

History

History
34 lines (19 loc) · 954 Bytes

readme.md

File metadata and controls

34 lines (19 loc) · 954 Bytes

server

deployed version Codecov

fastify + TypeORM + mercurius + nexus

GraphQL API

https://api.bgm.tv/v0/altair/

schema

REST API

https://next.bgm.tv/p1/

开发

复制 .env.example.envconfig.example.yamlconfig.yaml,根据自己的开发环境设置相关配置。 环境变量(及.env文件)会覆盖 config.yaml 中的设置。

如果你是在本机启动了 dev-env 中的 docker-compose,可以直接使用默认设置。

yarn start

在文件修改后会自动重启。

测试

jest 对于 esm 的支持不好,所以使用 vitest 作为测试框架。

运行测试需要 mysql。