- Node.js version v8.11.1 or higher
- go-etheruem
- Deploy a smart contract(example will update soon)
Node.js 0.8.11.1 or higher is required. Download whole file and using command downblow to compelete installation.
$ cd ams-cloud
$ npm install
- A page for upload the metadata to smart contract
- A upload page for handle upload file and comfirm signature
- A download page for check similar of file and show infomation
Copy env.js.example and change name to evn.js. Then modify to fit your config :
$ cp env.js.example env.js
$ vim env.js
Create file store folder :
$ mkdir file-storage
Add map.json into file-storage
$ cd file-storage
$ vim map.json
#Write a empty object {} into map.json
Start server :
$ npm start
Connect to http://127.0.0.1:3000/downlod