No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
cronjobs Add parseFloat value logic to fetchCurrentPrice update method Mar 13, 2018
lib
middleware Add project files Oct 7, 2017
model Add model for BitcoinValueQuarterlyAvg Nov 28, 2017
public Add project files Oct 7, 2017
router Make sure /now route returns an array Oct 16, 2017
schema Add project files Oct 7, 2017
.gitignore Update gitignore Oct 7, 2017
LICENSE Initial commit Oct 7, 2017
README.md Add main sections to readme Oct 7, 2017
config.js.dist Add config.urlPrefix parameter Nov 28, 2017
index.js Disable request logging Mar 22, 2018
package.json

README.md

Bitcoin Price API

This is a simple Bitcoin value API. The idea is to keep as minimum data as required, but enough to provide valuable trend data by keeping both short-term price values, as well as long-term averages.

Requirements

  • node
  • npm
  • mongoDB

Installation

Clone the project repository and install dependencies.

$ npm install

Configuration

Create config.js by copying config.js.dist

$ cp config.js.dist config.js

Change server port and database parameters in config.js to match your environment.

Running the project

$ node index.js

Thank you

Thanks to https://blockchain.info for providing a great API for data source.