The LLM_analyzer-master
is a Flask-based web application that offers user authentication and provides insights into Reddit data. It structures its routes using Flask Blueprints and employs Flask-Login for user session management.
- User Management: Supports user login and logout functionalities. Users' passwords are securely hashed using
werkzeug.security
. - Reddit Data Analysis: Fetches and displays Reddit posts from a database. Detailed views for individual Reddit posts are also available.
- Error Handling: Handles internal server errors and logs them for further analysis.
app.py
: Sets up the main Flask application, configures Flask-Login, and registers blueprints.auth.py
: Contains routes related to authentication, including login and logout.main.py
: Houses the main application routes, including those related to Reddit data display.user.py
: Manages user-related operations and database interactions for user data.
- Flask
- Flask-Login
- SQLAlchemy
- dotenv
- werkzeug.security (for password hashing)
- Clone the repository.
- Install required dependencies using pip.
- Set up environment variables, especially
DATABASE_URL
for database connectivity. - Run
main.py
to start the application.
- Integrate more data sources beyond Reddit.
- Enhance user management features like registration and password recovery.
- Improve UI/UX for better user engagement.