pip install django
pip install djangorestframework
pip install django-allauth
pip install python-dotenv
pip install mysql-connector-python
-
Link:
-
Enable Google credentials
-
Create Meta App for facebook
-
Twitter
-
Run server
source .venv/bin/activate
cd project
python3 manage.py runserver
- Run migration
source .venv/bin/activate
cd project
python3 manage.py makemigrations
python3 manage.py migrate
- Link to authenticate users
[Link](http://127.0.0.1:8000/accounts/signup/)
- Dont forget to add "Authorized JavaScript origins" in Link
http://127.0.0.1:8000
- Also add "Authorized redirect URI"s in google console
http://127.0.0.1:8000
http://127.0.0.1:8000/accounts/google/login/callback/