Skip to content

Latest commit

 

History

History
29 lines (23 loc) · 1.05 KB

README.md

File metadata and controls

29 lines (23 loc) · 1.05 KB

twitter-api

Django Rest framework Real Time Twitter API . Fully functional twitter app with websocket api to notify and send chat in real time using django channels.

FrontEnd is in React js .

React Code : https://github.com/learningnoobi/twitter-react

If you are in windows ,you might get error installing redis . either install that seperately or use docker image

I am using cloudinary as my image storage , so make one cloudinary account and add that too in you env file

how to run

mkdir yourfolder
cd yourfolder
virtualenv env
source env/bin/activate
git clone https://github.com/learningnoobi/twitter-api.git
pip install -r requirements.txt
cd twitter-api
python manage.py runserver
Note: private info are added in .env file so create new .env file in root add them there

.env file looks like this

SECRET_KEY=yoursecretkey
email=youremail
password=yourapppassword
cloud_name=cloudinaryname
api_key=cloudinaryapikey
api_secret=cloudinarysecretkey