This webapp will fetch the 10 latest threads of a subbreddit r/learnpython and will display it on the webpage. I have used Python-Flask as backend which will fetch the data using Reddit API and create a json file. Further I have used javascript that will convert the json into html visuals. I have used praw(Python Reddit API Wrapper) library to fetch the data from Reddit
Link to the web app: https://threadsinsight.pythonanywhere.com/
-
Clone the repository:
git clone https://github.com/your-username/ThreadsInsight.git
-
Navigate to the project directory
-
Create a virtual environment (optional but recommended)
-
Activate virtual environment
-
Install the dependencies:
pip install -r requirements.txt
-
Run the application:
python app.py
-
Access the application by ctrl + click on the URL or copy it in your web browser