This is a simple web server of REST APIs with ES6 and Express, that connect to Coinbase API and provide data back as BAPI-schemed.
- ES6 support via babel
- CORS support via cors
- Body Parsing via body-parser
- For run it locally:
# Clone it
git clone git@github.com:basimhennawi/bankathon
cd bankathon
# Install dependencies
npm install
# Start development live-reload server
PORT=8080 npm run dev
# Start production server:
PORT=8080 npm start
- On Heroku server:
You can consume the following endpoints via https://bankathon.herokuapp.com
- /version
- /register
- /updateStatement
cd bankathon
# Build your docker
docker build -t bankathon/api-service .
# ^ ^ ^
# tag tag name Dockerfile location
# run your docker
docker run -p 8080:8080 bankathon/api-service
# ^ ^
# bind the port container tag
# to your host
# machine port
MIT