Aigang MVP Node.JS middle layer and smart contracts
Middle layer is used for iOS app to communicate with Ethereum blockchain. In the nearly future the iOS will interact directly with the Ethereum blockchain. For more reasons why such middle layer was implemented, read here: https://hackernoon.com/building-peer-to-peer-insurance-prototype-on-ethereum-blockchain-in-one-weekend-possible-7c36517805f
To install: npm install -g truffle npm install
To build site:
gulp buildsite
In Production:
npm install --production
NODE_ENV=production node server.js