Skip to content

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.

Notifications You must be signed in to change notification settings

adhnanshereef/twitter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Twitter

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.

Setup

  1. Clone project git clone https://github.com/adhnanshereef/twitter.git
  2. Change directory to project folder cd twitter
  3. Install Virtual Environment pip install virtualenv
  4. Create Virtual Environment python -m virtualenv env
  5. Use Virtual Environment "./env/Scripts/activate"
  6. Install Django pip install Django
  7. Install Pillow pip install Pillow
  8. 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

  1. Make migrations python manage.py makemigrations
  2. Migrate python manage.py migrate
  3. Run server python manage.py runserver

Functions

  • Signup, Login, Logout
  • Edit User
  • Tweet
  • View Tweets
  • Like Tweet
  • View Profile
  • Follow
  • Following and Followers Page
  • Signup and Login with Google

Models

  1. User
  • Name
  • Username
  • Email
  • Website
  • Bio
  • Location
  • Avatar (Profile Picture)
  • Banner
  • Date Of Birth
  • Joined Date
  • Theme
  • Following and Followers
  • Is Online
  1. Tweet
  • Id
  • Content as text
  • User
  • Images
  • Like
  • Reply
  • Retweet
  • Views
  • Created Date
  • Updated Date (Currently there is no option to edit tweet)

About

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.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published