This project is a web-based social media and chat application built using Flask, a Python web framework, and Flask-SocketIO for real-time communications. It provides a platform for users to sign in, create and view tweets, and engage in live chat sessions. The application integrates social media functionalities with real-time chat capabilities to offer a comprehensive user experience.
- User Authentication: Supports user sign-in and sign-up with credential verification and account creation.
- Session Management: Utilizes session handling for security and enhanced user experience.
- Tweet Generation and Display: Allows users to create and view tweets, with a
tweet_generator
module for tweet management. - Real-Time Chat: Implements Flask-SocketIO for live chat functionalities, including joining chat rooms and sending messages.
- Profile and Content Management: Manages user profiles and content, displaying user-generated tweets on an explore page.
- Dynamic Web Pages: Uses Flask's
render_template
for serving dynamic web content.
- Flask: Python web application framework.
- Flask-SocketIO: For real-time communications between web clients and servers.
- Python: Backend programming language.
- HTML/CSS: Frontend development and design.
- JavaScript: Enhances frontend interactivity, particularly for real-time chat.
db
: Handles database operations, including user authentication and data retrieval.tweet_generator
: Generates and manages tweet content.
- Utilizes a secret key from
keys/app_secret_key.txt
for session management. - Configured with debug mode on for development.
- Runs using SocketIO to support real-time web sockets.
- Clone the Repository:
git clone git@github.com:esohel30/Twitter_clone.git
- Navigate to the Project:
cd FinalProjectSoftDev
- Install Dependencies:
pip install -r requirements.txt
- Enter the Application Directory:
cd app
- Launch the Application:
python3 __init.py__