Skip to content

Python Django project implementing google Oauth user registration

Notifications You must be signed in to change notification settings

KellyKiiru/googleOauth

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

googleOauth

Python Django project implementing google Oauth user registration

Git clone this repo with

git clone https://github.com/KellyKiiru/googleOauth.git

cd googleOauth

create a virtual environment

python -m venv virtual

Install all project packages

pip install -r requirements.txt

Create a .env and .gitignore file in the project's root directory Store your Google secrets [CLIENT ID, CLIENT SECRET] in this file using the foo=bar format

CLIENT_ID='your-google-unique-id'
CLIENT_SECRET='your-google-unique-secret'

The project uses PostgreSQL

Configurations in .env file

NAME='googleauth' //db name
USER='postgres'
PASSWORD='yourpassword'
PORT='5432'

Run the server

python manage.py runserver

About

Python Django project implementing google Oauth user registration

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published