- ES6 support via babel
- REST resources as middleware via resource-router-middleware
- CORS support via cors
- Body Parsing via body-parser
# Install dependencies
npm install
# Start production server:
PORT=8080 npm start
- GET - http://localhost:8080/api/createWallet
- GET - http://localhost:8080/api/getBalance/<eth_address>
- POST - http://localhost:8080/api/transaction body =>
{
"amount": <eth_amount>,
"privateKey": <account private key>,
"destination": <destination account public key>
}