A Django application looks like Twitter. I created it to practice Django. It does not completely look like Twitter. Not designed fully and doesn't have all functions on Twitter. Also accepted google signup. Django admin panel enabled.
- Clone project
git clone https://github.com/adhnanshereef/twitter.git
- Change directory to project folder
cd twitter
- Install Virtual Environment
pip install virtualenv
- Create Virtual Environment
python -m virtualenv env
- Use Virtual Environment
"./env/Scripts/activate"
- Install Django
pip install Django
- Install Pillow
pip install Pillow
- Install alluth essentials for google authentication
pip install django-allauth google-auth google-auth-oauthlib google-auth-httplib2
or
pip install Django Pillow django-allauth google-auth google-auth-oauthlib google-auth-httplib2
- Make migrations
python manage.py makemigrations
- Migrate
python manage.py migrate
- Run server
python manage.py runserver
- Signup, Login, Logout
- Edit User
- Tweet
- View Tweets
- Like Tweet
- View Profile
- Follow
- Following and Followers Page
- Signup and Login with Google
- User
- Name
- Username
- Website
- Bio
- Location
- Avatar (Profile Picture)
- Banner
- Date Of Birth
- Joined Date
- Theme
- Following and Followers
- Is Online
- Tweet
- Id
- Content as text
- User
- Images
- Like
- Reply
- Retweet
- Views
- Created Date
- Updated Date (Currently there is no option to edit tweet)