https://github.com/dimpiax/bitcoin-ticker
Bitcoin ticker
https://github.com/dimpiax/bitcoin-ticker
babel es6 eslint flowtype javascript nodejs react
Last synced: 3 months ago
JSON representation
Bitcoin ticker
- Host: GitHub
- URL: https://github.com/dimpiax/bitcoin-ticker
- Owner: dimpiax
- Created: 2017-03-24T19:04:08.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2017-03-28T17:30:27.000Z (about 8 years ago)
- Last Synced: 2025-01-08T18:41:43.529Z (5 months ago)
- Topics: babel, es6, eslint, flowtype, javascript, nodejs, react
- Language: JavaScript
- Homepage:
- Size: 201 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Bitcoin ticker
Sample Node.js project of currency rates relatively to bitcoin.
Project implemented on JavaScript, using the latest ES features and React, dated on the latest commit.Its development environment based on: Babel, Flow, ESLint.
## Running
After project cloning and installing dependencies, you have to run server by:
`npm start`.You can start server manually using next arguments:
* delay – delay before first request
* interval – interval request after fetching currencies data completion
* curr – currencies separated by comma, where first element as a base#### Example
```bash
node server.js --interval 2000 --delay 1000 --curr GBP,EUR
```## Using
Application outputs in several modes:
* owner – through console:
* client – application runs http server on 3000 port, so it provides two cases:
1. `http://localhost:3000/watch` – returns a stream
2. `http://localhost:3000/watch/render` – returns a SSR page based on React