Skip to content

DominikGithub/influxdb-timeseries-webapp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Influxdb Dash

Collect historical stock data from Alphavanteage API and store into Influxdb timeseries db and visualize as web app.

Setup & run

Set .env file credentials

  • alphavantage_scraper/.env
  • influxdb/.env
  • dash_app/.env
$ docker-compose up --build --detach  

NOTE: temp fix for initial access token missing.

  1. Start Influxdb: Create all access API tocken > set in scraper dir .env
  2. Restart scraper script

Influxdb

Timerseries database 2.5.1 Influx docs Web interface <HOST URL>:8086/ influxdb notebook

Development setup

Start as standalone host instance from witin /influxdb dir:

docker run \
    --name influxdb \
    -p 8086:8086 \
    --volume $PWD:/var/lib/influxdb2 \
    influxdb:2.5.1

Python data scraper

Collecting time series data from REST API

Dash web app

Web interface for data visualization Web interface <HOST URL>:8080/

dash app