🔑 An application that provides user authentication via Google account with Django 🔑
🔑 Django ile Google hesabı üzerinden kullanıcı kimlik doğrulaması sağlayan bir uygulama 🔑
This project allows users to easily register and log in via their Google account with Django. Its main features are:
- Fast and secure authentication with Google account.
- Support registration and login with traditional username and password.
- Social authentication management with Django Allauth.
- User-friendly message notifications and stylish design with Bootstrap.
Bu proje, Django ile kullanıcıların Google hesabı üzerinden kolayca kayıt ve giriş yapmasını sağlamaktadır. Başlıca özellikleri şunlardır:
- Google hesabı ile hızlı ve güvenli kimlik doğrulama.
- Geleneksel kullanıcı adı ve şifre ile kayıt ve giriş desteği.
- Django Allauth ile sosyal kimlik doğrulama yönetimi.
- Kullanıcı dostu mesaj bildirimleri ve Bootstrap ile şık tasarım.
This project was developed using the following tools and libraries:
- Django Templates: For creating dynamic web pages.
- Bootstrap5: To provide a responsive and modern user interface.
- django-crispy-forms: To easily style forms.
- django-allauth - Social Account Authentication Management
To clone and run this application, you'll need Git
When installing the required packages in the requirements.txt file, review the package differences for windows/macOS/Linux environments.
Complete the installation by uncommenting the appropriate package.
requirements.txt dosyasındaki gerekli paketlerin kurulumu esnasında windows/macOS/Linux ortamları için paket farklılıklarını inceleyin.
Uygun olan paketi yorumdan kurtararak kurulumu gerçekleştirin.
# Clone this repository
$ git clone https://github.com/Umit8098/Project_Django_Templates_Todo_App_FB_Authantication-1_CH-11.git
# Install dependencies
$ python -m venv env
$ python3 -m venv env (for macOs/linux OS)
$ env/Scripts/activate (for win OS)
$ source env/bin/activate (for macOs/linux OS)
$ pip install -r requirements.txt
$ python manage.py migrate (for win OS)
$ python3 manage.py migrate (for macOs/linux OS)
# Create and Edit .env
# Add Your SECRET_KEY in .env file
# Google API Ayarları
For Google authentication, follow these steps:
Google kimlik doğrulaması için şu adımları takip edin:
1. [Google API Console](https://console.cloud.google.com/) Go to and create a new project.
2. "OAuth Consent Screen" configure settings.
3. Get `GOOGLE_CLIENT_ID` and `GOOGLE_SECRET` information from the "Credentials" tab.
4. Add this information to your `.env` file.
"""
# example .env;
SECRET_KEY =123456789abcdefg...
GOOGLE_CLIENT_ID={YOUR_GOOGLE_CLIENT_ID}
GOOGLE_SECRET={YOUR_GOOGLE_SECRET}
"""
# Run the app
$ python manage.py runserver
- Authentication with Google Account: Users can quickly log in using their Google account.
- Traditional Authentication: Support user registration and login with email and password.
- Profile Management: Registered users can edit account information.
- User Notifications: Feedback is provided about the actions taken.
- Google Hesabı ile Kimlik Doğrulama: Kullanıcılar Google hesaplarını kullanarak hızlı giriş yapabilir.
- Geleneksel Kimlik Doğrulama: E-posta ve şifre ile kullanıcı kaydı ve giriş desteği.
- Profil Yönetimi: Kayıtlı kullanıcılar hesap bilgilerini düzenleyebilir.
- Kullanıcı Bildirimleri: Yapılan işlemler hakkında geri bildirim sağlanır.
-
GitHub @Umit8098
-
Linkedin @umit-arat