区块链投票:使用区块链进行投票的简单Web应用程序

上传者: 42152298 | 上传时间: 2023-02-26 10:51:18 | 文件大小: 403KB | 文件类型: ZIP
区块链投票 介绍 一个简单的Web应用程序,可使用MEAN堆栈(MongoDB,Express.js,Node.js,Angular)将区块链用于轮询/投票。 它被设计为一个教育应用程序,解释了用例如何使用区块链进行投票,但它可用于民意测验,其中投票的透明性很重要,并且观众具有对区块链投票的亲和力和好奇心。 正在施工:construction:! 成分 客户端: Angular frotnend应用程序(一个标准的Angular项目) 核心:与区块链相关的通用领域类和服务 服务器: Node.js,Express.js服务器(后端)应用程序 建造 假设:已安装Node.js 14,并且在子项目npm install中已执行npm install 。 build_client.bat构建Angular前端 build_docker.bat构建Docker映像 跑 run_docker.bat 该命令启动

文件下载

资源详情

[{"title":"( 80 个子文件 403KB ) 区块链投票:使用区块链进行投票的简单Web应用程序","children":[{"title":"blockchain-poll-main","children":[{"title":"client","children":[{"title":"tsconfig.app.json <span style='color:#111;'> 293B </span>","children":null,"spread":false},{"title":"package.json <span style='color:#111;'> 1.50KB </span>","children":null,"spread":false},{"title":"tslint.json <span style='color:#111;'> 3.11KB </span>","children":null,"spread":false},{"title":"tsconfig.spec.json <span style='color:#111;'> 333B </span>","children":null,"spread":false},{"title":"angular.json <span style='color:#111;'> 3.83KB </span>","children":null,"spread":false},{"title":"package-lock.json <span style='color:#111;'> 549.47KB </span>","children":null,"spread":false},{"title":"src","children":[{"title":"test.ts <span style='color:#111;'> 753B </span>","children":null,"spread":false},{"title":"assets","children":[{"title":".gitkeep <span style='color:#111;'> 0B </span>","children":null,"spread":false}],"spread":true},{"title":"index.html <span style='color:#111;'> 511B </span>","children":null,"spread":false},{"title":"app","children":[{"title":"poll-start","children":[{"title":"poll-start.component.spec.ts <span style='color:#111;'> 648B </span>","children":null,"spread":false},{"title":"poll-start.component.html <span style='color:#111;'> 943B </span>","children":null,"spread":false},{"title":"poll-start.component.ts <span style='color:#111;'> 599B </span>","children":null,"spread":false},{"title":"poll-start.component.css <span style='color:#111;'> 131B </span>","children":null,"spread":false}],"spread":true},{"title":"poll-register","children":[{"title":"poll-register.component.css <span style='color:#111;'> 75B </span>","children":null,"spread":false},{"title":"poll-register.component.spec.ts <span style='color:#111;'> 669B </span>","children":null,"spread":false},{"title":"poll-register.component.html <span style='color:#111;'> 896B </span>","children":null,"spread":false},{"title":"poll-register.component.ts <span style='color:#111;'> 1.26KB </span>","children":null,"spread":false}],"spread":false},{"title":"poll-edit","children":[{"title":"poll-edit.component.spec.ts <span style='color:#111;'> 641B </span>","children":null,"spread":false},{"title":"poll-edit.component.html <span style='color:#111;'> 2.48KB </span>","children":null,"spread":false},{"title":"poll-edit.component.ts <span style='color:#111;'> 1.86KB </span>","children":null,"spread":false},{"title":"poll-edit.component.css <span style='color:#111;'> 115B </span>","children":null,"spread":false}],"spread":false},{"title":"app.module.ts <span style='color:#111;'> 1.68KB </span>","children":null,"spread":false},{"title":"vote","children":[{"title":"vote.component.html <span style='color:#111;'> 6.01KB </span>","children":null,"spread":false},{"title":"vote.component.ts <span style='color:#111;'> 5.38KB </span>","children":null,"spread":false},{"title":"vote.component.spec.ts <span style='color:#111;'> 612B </span>","children":null,"spread":false},{"title":"vote.component.css <span style='color:#111;'> 343B </span>","children":null,"spread":false}],"spread":false},{"title":"app.component.spec.ts <span style='color:#111;'> 1.08KB </span>","children":null,"spread":false},{"title":"poll","children":[{"title":"poll.component.ts <span style='color:#111;'> 1.14KB </span>","children":null,"spread":false},{"title":"poll.component.css <span style='color:#111;'> 275B </span>","children":null,"spread":false},{"title":"poll.component.spec.ts <span style='color:#111;'> 612B </span>","children":null,"spread":false},{"title":"poll.component.html <span style='color:#111;'> 1.52KB </span>","children":null,"spread":false}],"spread":false},{"title":"poll.service.ts <span style='color:#111;'> 2.93KB </span>","children":null,"spread":false},{"title":"poll.service.spec.ts <span style='color:#111;'> 347B </span>","children":null,"spread":false},{"title":"app.component.ts <span style='color:#111;'> 228B </span>","children":null,"spread":false},{"title":"app.component.html <span style='color:#111;'> 52B </span>","children":null,"spread":false},{"title":"app-routing.module.ts <span style='color:#111;'> 938B </span>","children":null,"spread":false},{"title":"app.component.css <span style='color:#111;'> 44B </span>","children":null,"spread":false}],"spread":false},{"title":"main.ts <span style='color:#111;'> 372B </span>","children":null,"spread":false},{"title":"styles.css <span style='color:#111;'> 572B </span>","children":null,"spread":false},{"title":"polyfills.ts <span style='color:#111;'> 2.76KB </span>","children":null,"spread":false},{"title":"environments","children":[{"title":"environment.ts <span style='color:#111;'> 697B </span>","children":null,"spread":false},{"title":"environment.prod.ts <span style='color:#111;'> 65B </span>","children":null,"spread":false}],"spread":false},{"title":"favicon.ico <span style='color:#111;'> 948B </span>","children":null,"spread":false}],"spread":true},{"title":"tsconfig.json <span style='color:#111;'> 458B </span>","children":null,"spread":false},{"title":"e2e","children":[{"title":"protractor.conf.js <span style='color:#111;'> 904B </span>","children":null,"spread":false},{"title":"src","children":[{"title":"app.po.ts <span style='color:#111;'> 274B </span>","children":null,"spread":false},{"title":"app.e2e-spec.ts <span style='color:#111;'> 675B </span>","children":null,"spread":false}],"spread":true},{"title":"tsconfig.json <span style='color:#111;'> 274B </span>","children":null,"spread":false}],"spread":true},{"title":".gitignore <span style='color:#111;'> 631B </span>","children":null,"spread":false},{"title":".browserslistrc <span style='color:#111;'> 703B </span>","children":null,"spread":false},{"title":"karma.conf.js <span style='color:#111;'> 1.41KB </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 1.01KB </span>","children":null,"spread":false},{"title":".editorconfig <span style='color:#111;'> 274B </span>","children":null,"spread":false}],"spread":false},{"title":"server","children":[{"title":"package.json <span style='color:#111;'> 620B </span>","children":null,"spread":false},{"title":"server.js <span style='color:#111;'> 10.29KB </span>","children":null,"spread":false},{"title":"package-lock.json <span style='color:#111;'> 108.97KB </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 34B </span>","children":null,"spread":false},{"title":"mailService.js <span style='color:#111;'> 1.31KB </span>","children":null,"spread":false}],"spread":true},{"title":"core","children":[{"title":"PollBlockchainService.js <span style='color:#111;'> 6.79KB </span>","children":null,"spread":false},{"title":"package.json <span style='color:#111;'> 451B </span>","children":null,"spread":false},{"title":"PollBlockchain.ts <span style='color:#111;'> 1.65KB </span>","children":null,"spread":false},{"title":"test","children":[{"title":"PollBlockchainService.test.js <span style='color:#111;'> 3.08KB </span>","children":null,"spread":false},{"title":"PollBlockchainService.test.ts <span style='color:#111;'> 2.60KB </span>","children":null,"spread":false}],"spread":true},{"title":"jest.config.js <span style='color:#111;'> 6.40KB </span>","children":null,"spread":false},{"title":"PollBlockchainService.ts <span style='color:#111;'> 5.95KB </span>","children":null,"spread":false},{"title":"package-lock.json <span style='color:#111;'> 177.29KB </span>","children":null,"spread":false},{"title":"PollBlockchain.js <span style='color:#111;'> 2.55KB </span>","children":null,"spread":false},{"title":"tsconfig.json <span style='color:#111;'> 250B </span>","children":null,"spread":false}],"spread":true},{"title":".github","children":[{"title":"workflows","children":[{"title":"cd-pipeline.yml <span style='color:#111;'> 991B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"Dockerfile <span style='color:#111;'> 214B </span>","children":null,"spread":false},{"title":"LICENSE <span style='color:#111;'> 11.09KB </span>","children":null,"spread":false},{"title":"package-lock.json <span style='color:#111;'> 568.57KB </span>","children":null,"spread":false},{"title":"build_client.bat <span style='color:#111;'> 35B </span>","children":null,"spread":false},{"title":"build_docker.bat <span style='color:#111;'> 184B </span>","children":null,"spread":false},{"title":".gitignore <span style='color:#111;'> 793B </span>","children":null,"spread":false},{"title":"run_docker.bat <span style='color:#111;'> 31B </span>","children":null,"spread":false},{"title":".dockerignore <span style='color:#111;'> 33B </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 1.09KB </span>","children":null,"spread":false},{"title":"stack.yml <span style='color:#111;'> 713B </span>","children":null,"spread":false},{"title":".editorconfig <span style='color:#111;'> 274B </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明