Skip to content

Latest commit

 

History

History
31 lines (21 loc) · 1.53 KB

README.md

File metadata and controls

31 lines (21 loc) · 1.53 KB

hello-flask

Codacy Badge

Let's try flask, twitter api and graylog

Requirements

  • Docker
  • docker-compose

How to Run

  • First, check docker-compose file, add you own twitter keys (lines 11~14);
  • In docker-compose file, edit the graylog external uri (line 47)
  • ./run.sh
  • Access graylog in your browser and install extras/content_pack.json
  • (Optional) Import extras/postman_collection.json in your postman to make api calls

API Routes

Method URI Name Description
GET-HEAD /tag/STRING GetByTag Get the last 100 tweets by tag
GET-HEAD /highfollower HighFollower Get top 5 followed users from tweets given by a static array of tags

Architecture Design

Graylog Dashboard