30
loading...
This website collects cookies to deliver better user experience
/subreddit/[name]
: Returns a) a subreddit’s posts and their seriousness scores, b) an all-time seriousness score, and c) hourly seriousness scores for the last week/subreddits
: Returns all subreddits we track and the all-time seriousness score for eachposts
topic in our message queue.posts
consumer: This script reads data from the posts
topic and inserts it into our Postgres database.posts
enrichment. This script consumes the Reddit posts
topic, applies the predictive model, and writes the data back to another topic posts-scores
, which will contain post IDs and seriousness scores.post-scores
consumer. This script reads data from the posts-scores
topic and inserts them into (a separate table in) our Postgres database.subreddit-scores-5min
in Postgres.subreddit-scores-total
.API server. The API server will fetch the insights from Postgres and serve the results to the frontend. It’ll implement the routes we specified in the introduction. We’ll build the API server in Python using the FastAPI framework.
Frontend client. The frontend will contain tables and charts for viewing and searching the insights. We’ll implement it with React and use a fancy charting library like Recharts.