Giter VIP home page Giter VIP logo

jimilai / ethereum-dapp-ipfs-node.js-mongodb Goto Github PK

View Code? Open in Web Editor NEW
49.0 3.0 20.0 12 KB

以太坊开发DApp实战教程——用区块链、星际文件系统(IPFS)、Node.js和MongoDB来构建电商平台

Home Page: http://xc.hubwiz.com/course/5abbb7acc02e6b6a59171dd6/?affid=20180330github

HTML 20.28% JavaScript 79.72%
ethereum dapp ipfs mongodb nodejs ethereum-dapp ethereum-contract ethereum-blockchain ethereum-token dapp-example

ethereum-dapp-ipfs-node.js-mongodb's Introduction

ethereum-dapp-ipfs-node.js-mongodb

以太坊开发DApp实战教程——用区块链、星际文件系统(IPFS)、Node.js和MongoDB来构建电商平台

http://xc.hubwiz.com/course/5abbb7acc02e6b6a59171dd6

一、引言

  • 1.1 课程简介
  • 1.2 去中心化,Why?
  • 1.3 课程项目概述
  • 1.4 基础知识要求
  • 1.5 应用架构及区块链概述
  • 1.6 理解架构组件的作用
  • 1.7 敏捷开发

二、 电商智能合约:商品上架与商品信息读取

  • 2.1 冲刺目标
  • 2.2 项目初始化
  • 2.3 商品数据结构
  • 2.4 商品目录表
  • 2.5 商品上架
  • 2.6 查看商品信息
  • 2.7 部署电商智能合约
  • 2.8 控制台交互测试
  • 2.9 脚本交互测试
  • 2.10 模拟数据生成脚本

三、 电商合约:商品竞价与开标

  • 3.1 冲刺目标
  • 3.2 拍卖概述
  • 3.3 去中心化的维科瑞拍卖
  • 3.4 出价信息的数据结构
  • 3.5 提交密封出价
  • 3.6 揭示真实出价
  • 3.7 获取竞价结果
  • 3.8 控制台与脚本交互测试

四、 初识IPFS:星际文件系统

  • 4.1 IPFS:去中心化的文件系统
  • 4.2 IPFS节点软件安装与设置
  • 4.3 IPFS网络的文件上传与下载

五、 用户界面:商品展示页

  • 5.1 冲刺目标
  • 5.2 前端开发概述
  • 5.3 前端入口脚本
  • 5.4 商品展示网页
  • 5.5 webpack配置、构建与测试运行
  • 5.6 商品数据的提取与渲染

六、 用户界面:商品上架页

  • 6.1 冲刺目标
  • 6.2 商品上架流程
  • 6.3 商品数据采集
  • 6.4 上传资源到IPFS
  • 6.5 上传商品信息到区块链

七、用户界面:商品详情页

  • 7.1 冲刺目标
  • 7.2 商品详情页
  • 7.3 渲染商品详情
  • 7.4 出价表单
  • 7.5 揭示出价表单

八、 托管合约:多重签名托管

  • 8.1 冲刺目标
  • 8.2 为什么需要托管合约
  • 8.3 托管合约的状态设计
  • 8.4 释放资金给卖家
  • 8.5 返还资金给买家

九、 托管资金管理

  • 9.1 冲刺目标
  • 9.2 托管阶段概述
  • 9.3 电商合约:结束拍卖方法
  • 9.4 商品详情页:结束拍卖表单
  • 9.5 商品详情页:显示拍卖结果
  • 9.6 电商合约:封装托管合约访问接口
  • 9.7 商品详情页:托管信息显示
  • 9.8 用户界面:资金流向投票

十、 链下数据存储

  • 10.1 冲刺目标
  • 10.2 为什么需要链下存储
  • 10.3 MongoDB概述
  • 10.4 Mongoose概述
  • 10.5 商品模型的架构定义
  • 10.6 express概述
  • 10.7 Solidity事件
  • 10.8 监听商品上架事件
  • 10.9 商品查询API
  • 10.10 渲染商品展示页

十一、 课程总结

  • 11.1 部署简明方案
  • 11.2 进一步学习

ethereum-dapp-ipfs-node.js-mongodb's People

Contributors

jimilai avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

ethereum-dapp-ipfs-node.js-mongodb's Issues

Hi~请问有没有兴趣来W3c.Group区块链技术社区创建您的专属小组?

您可以做什么:在W3c.Group社区创建和您的项目相关的小组,输出和区块链技术相关的内容,和加入小组的成员关注者进行互动。

这样做的价值:帮助更多的开发者学习区块链技术,同时提升您的社区知名度,对您感兴趣的开发者或潜在合作者、投资人能主动找到您。

官网以及介绍:https://w3c.group/about

W3c.Group正在冷启动,欢迎通过社区内私信或微信联系瓦工,了解并成为W3c.Group核心共建者

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.