一、前端页面
1.钱包web、桌面(https://wallet.labs.stream)
代码:https://gitee.com/scode123/client-source
服务器:47.52.36.198/var/www/wallet
维护:无
数据服务器:stmed,stm-history
2.钱包h5(https://m.labs.stream)
代码:https://gitee.com/scode123/stm-wallet-h5-web
服务器:47.52.36.198/var/www/stm-wallet-h5-web
维护:npm run build
数据服务器:stmed,stm-history
3.钱包APP(安卓)
代码:https://gitee.com/scode123/stm-wallet-app-rn
维护:
a).环境:
增加android/local.properties 文件
文件内容:sdk.dir = sdk目录
B).打包:npm run android
数据服务器:stmed,stm-history
4.图表 - web钱包中的趋势图(https://kline.labs.stream)
代码:https://gitee.com/scode123/stm-tv-chart-vue
服务器:47.244.255.245/root/stm-tv-chart
维护:无
数据服务器:stm-data-api
5.图表 - stream总的图表(https://charts.labs.stream)
代码:https://gitee.com/scode123/stm-charts-frontend
服务器:47.52.23.156/root/stm-charts-frontend
维护:无
数据服务器:stm-data-api,stmed
6.区块排名(https://graph.labs.stream)
代码:https://gitee.com/scode123/stm-graph
服务器:47.244.255.245/root/stm-graph
维护:无
数据服务器:stm-history,stm-history-server,stmed
7.红包(https://gift.convenant.cn)
代码:https://gitee.com/scode123/stm-red-packet
维护:无
数据服务器:redpacket-server
二、数据服务器
1.stm-history(https://data.labs.stream)
代码:https://gitee.com/scode123/stm-history
服务器:47.244.255.245/root/stm-history
介绍:提供历史数据
数据库:postsql
维护:
运行:node api/index.js
与stmed数据同步:node import/live --type postgres
批量导入数据(有时候同步进程断掉需要先批量导入):node import/postgres/backfill
2.stm-history-server(https://history.labs.stream)
代码:https://gitee.com/scode123/stm-history-server
服务器:47.244.255.245/root/stm-history-server
介绍:提供持有排名数据,通过stm-history同步的数据,进行排名
数据库:postsql
前提:需要先开启stm-history
维护-运行:node history-server.js
3.stm-data-api(https://apiv2.labs.stream,wss://apiv2.labs.stream)
代码:https://gitee.com/scode123/stm-data-api
服务器:47.52.23.156/root/data-api
介绍:提供图表、24小时交易、24小时成交数值
数据库:couchdb
维护
运行:node ./api/app.js
同步数据:node db/importer live
压缩数据:node 47.52.23.156/deal-db/index.js
4.红包服务器(https://gift.convenant.cn)
代码:https://gitee.com/scode123/redpacket-server
介绍:提供红包数据
数据库:postsql
维护
运行:node redpacket-server.js