【文件属性】:
文件名称:coin:使用api的硬币网站
文件大小:52KB
文件格式:ZIP
更新时间:2021-05-10 20:39:44
JavaScript
使用Coconone API的硬币
您可以使用Coinone API查看硬币价格和交易完成历史记录。
用法
软件包安装和构建:
npm install -g yarn babel-cli
npm install
npm build
cd server
npm install
npm build
运行开发服务器
启动两个独立的终端后,按顺序执行命令:
第一台Terminel-Run api服务器:
cd server
npm run development
第二台Terminel-Run热重装机:
yarn start
Dev Hot Live服务器:
http://localhost:3001
生产
yarn build
cd server
npm run build
npm run start
http://localhost:3000
【文件预览】:
coin-master
----server()
--------package.json(806B)
--------src()
--------scripts()
----config()
--------webpack.config.prod.js(15KB)
--------polyfills.js(628B)
--------webpackDevServer.config.js(5KB)
--------webpack.config.dev.js(13KB)
--------jest()
--------env.js(3KB)
--------paths.js(2KB)
----package.json(3KB)
----tslint.json(187B)
----src()
--------index.js(567B)
--------containers()
--------components()
--------App.js(288B)
--------styles()
--------services()
----.gitignore(383B)
----public()
--------manifest.json(298B)
--------index.html(738B)
--------favicon.ico(4KB)
----README.md(687B)
----scripts()
--------test.js(734B)
--------build.js(5KB)
--------start.js(3KB)
----.vscode()
--------launch.json(359B)
--------settings.json(30B)