Skip to content

haard04/Reddit-wrapper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

Reddit Wrapper Web Application

This is a simple web application that fetches articles from a Reddit subreddit using the Reddit API. The application has both a backend and a frontend component.

Prerequisites

Before running this application, make sure you have the following prerequisites:

  • Python installed on your system.

Getting Started

Follow these steps to set up and run the Reddit Wrapper web application:

  1. Clone the Repository:

    git clone https://github.com/your-username/reddit-wrapper.git
  2. Navigate to the Project Directory:

    cd reddit-wrapper
  3. Install Dependencies:

    To install the project dependencies from the requirements.txt file, run:

    pip install -r requirements.txt
  4. Run the Development Server:

    Start the Django development server:

    python manage.py runserver
  5. Access the Application:

    Open a web browser and go to http:https://localhost:8000/get_articles/. You should see the list of the latest 10 threads from your chosen subreddit.

  6. Customize Styling (Optional):

    If you want to customize the styling of the application, you can modify the CSS styles in the reddit_api/templates/reddit_api/threads.html file.

Acknowledgments

  • Reddit for providing the API that makes this project possible.
  • The Django and Python communities for their valuable tools and resources.
  • Chatgpt for some professional documentation
  • Haard Shah

Happy coding!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published