☁️ A weather app built with Django and using OpenWeather APIs ☁️
☁️ Django ile oluşturulmuş ve OpenWeather API'lerini kullanan bir hava durumu uygulaması ☁️
➡ Users' registration screen to the weather application.➡ The screen where users can access current weather information by logging in and entering the city name.
This project was developed using the following tools and libraries:
- Django Templates: To create dynamic web pages.
- Bootstrap5: To provide a responsive and modern user interface.
- django-crispy-forms: To easily stylize forms.
- dj-rest-auth: User authentication and authorization module.
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/Proj_WeatherApp-API-_Temp_Auth-2_email_CH-11_V.04.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
"""
# example .env;
SECRET_KEY =123456789abcdefg...
# OpenWeather API Ayarları
# API Key to retrieve data from https://openweathermap.org
# Obtained by registration at https://openweathermap.org
API_KEY = {OpenWeather API Anahtarınız}
"""
# Run the app
$ python manage.py runserver
For the live demo, you can use the following test user information:
- User name: testuser
- Password: testpassword123
- e-mail: testuser@gmail.com This user can only perform weather inquiries and profile updates.
This project was developed so that users can easily access city-based current weather information. It offers frontend and backend support with its Django Template structure. Accurate and up-to-date data is provided via OpenWeather API.
Users:
- You can access weather information by entering the city name.
- Can view weather histories by registering and logging in.
- Can edit profile information and change passwords.
Bu proje, kullanıcıların şehir bazlı güncel hava durumu bilgilerine kolayca erişebilmesi amacıyla geliştirilmiştir. Django Template yapısı ile frontend ve backend desteği sunmaktadır. OpenWeather API ile doğru ve güncel veri sağlanmaktadır.
Kullanıcılar:
- Şehir adı girerek hava durumu bilgisine erişebilir.
- Kayıt olup giriş yaparak hava durumu geçmişlerini görüntüleyebilir.
- Profil bilgilerini düzenleyebilir ve şifre değiştirme işlemleri yapabilir.
- City Based Weather Information: Users can access current weather information by entering the city name.
- API Support: Accurate and up-to-date weather data is provided via OpenWeather API.
- User Management: Registration, login, profile editing and password change operations.
- Fast and Responsive Interface: Modern and user-friendly interface with Bootstrap.
- User Notifications: After successful transactions, the user is given feedback via a screen message.
- Şehir Bazlı Hava Durumu Bilgileri: Kullanıcılar şehir adını girerek güncel hava durumu bilgilerine erişebilirler.
- API Desteği: OpenWeather API ile doğru ve güncel hava durumu verileri sağlanır.
- Kullanıcı Yönetimi: Kayıt, giriş, profil düzenleme ve şifre değiştirme işlemleri.
- Hızlı ve Duyarlı Arayüz: Bootstrap ile modern ve kullanıcı dostu arayüz.
- Kullanıcı Bildirimleri: Başarılı işlemler sonrası kullanıcıya ekran mesajı ile geri bildirim sağlanır.
-
GitHub @Umit8098
-
LinkedIn @umit-arat