fortnite db
1.0.0
用于检查游戏武器的Fortnite数据库应用程序。
将此仓库克隆到您的本地计算机上,并将cd
插入client
和server
文件夹的根目录中。然后运行命令npm install
以安装软件包依赖项。
后端服务器有两台服务器,另一台用于客户端端。
要启动后端运行命令npm run start
在服务器文件夹中。
要启动前端,在客户端文件夹中运行命令npm run dev
。
GraphQL API服务器正在端口8080 http:// localhost:8080/graphql
这是示例GraphQl查询。
{
inventorys {
id
name
type
weaponType
itemRarity
img
information {
damage
critialHitChance
critialHitDamage
fireRate
magazineSize
range
durabilty
reloadTime
ammoCost
impact
}
}
}
Next.js应用程序正在端口3000 http:// localhost:3000/
弃用的文件夹具有旧代码库,最新的代码库使用next.js + GraphQl。