# NFT-Marketplace
**Repository Path**: coolham2002/nft-marketplace
## Basic Information
- **Project Name**: NFT-Marketplace
- **Description**: 基于BFchain的NFT生产交易平台
- **Primary Language**: Unknown
- **License**: MIT
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 8
- **Created**: 2024-04-01
- **Last Updated**: 2024-04-01
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
## 体系结构和客户端流
## :gear: 运行环境
需要如下技术
#### **前端** React + JavaScript
- [React](https://pt-br.reactjs.org/)
- [Axios](https://github.com/axios/axios)
- [Redux](https://redux.js.org/)
- [Web3.js](https://web3js.readthedocs.io/en/v1.3.4/)
- [Material UI](https://material-ui.com/pt/)
#### **后端** Express
- [Express](https://expressjs.com/pt-br/)
#### **区块链和智能合约** Solidity
- [Solidity](https://docs.soliditylang.org/)
- [Truffle](https://www.trufflesuite.com/)
- [Ganache](https://www.trufflesuite.com/ganache)
## :joystick: 运行
运行环境
* [Git](https://git-scm.com)
* [Node](https://nodejs.org/)
* [npm](https://www.npmjs.com/)
* [Truffle](https://www.trufflesuite.com/)
* [Ganache](https://www.trufflesuite.com/ganache)
* 克隆如下地址:
* https://gitee.com/waj499535466/nft-marketplace.git
进入文件夹并且运行:
```bash
$ cd NFT-Marketplace
# install the dependencies
$ npm install
# run ganache
$ ganache-cli(可视化ganache软件也可以)
建议可视化ganache: 创建工作环境 配置端口 8545 添加truffle-config.js到工作环境即可
# deploy de contracts on the blockchain
$ truffle migrate
# run the client-side
$ cd client
$ npm install
$ npm start
# run the backend
$ cd backend
$ npm install
$ npm start
```