TweetHub is a Twitter-like application built with Django. It allows users to sign up, log in, log out, create tweets, edit tweets, and delete tweets. Users can also add images to their tweets.
- User Authentication: Sign up, log in, and log out
- Create, Read, Update, and Delete (CRUD) tweets
- Add images to tweets
- Python 3.x
- Django 3.x or later
-
Clone the repository:
git clone https://github.com/aniketpatidar/TweetHub.git
-
Navigate to the project directory:
cd TweetHub
-
Create and activate a virtual environment:
python3 -m venv .venv source .venv/bin/activate
-
Install the required dependencies:
pip install -r requirements.txt
-
Apply the migrations:
python manage.py migrate
-
Create a superuser to access the admin panel:
python manage.py createsuperuser
-
Start the development server:
python manage.py runserver
-
Open your web browser and go to http://127.0.0.1:8000/tweet/ to see the application in action.
Special thanks to @hiteshchoudhary for his amazing YouTube video that inspired this project.