An open API service indexing awesome lists of open source software.

https://github.com/shivatejaburle/weather-app

Crafting a Dynamic Weather Application: Unleashing the Power of Django and Python with API Integration to Fetch Real-Time Weather Data Based on City Names.
https://github.com/shivatejaburle/weather-app

beginner beginner-friendly beginner-project django django-application django-project simple-app simple-django simple-django-app simple-django-project simple-project weather weather-api weather-app weather-data weather-information weatherapi weatherapp

Last synced: 18 days ago
JSON representation

Crafting a Dynamic Weather Application: Unleashing the Power of Django and Python with API Integration to Fetch Real-Time Weather Data Based on City Names.

Awesome Lists containing this project

README

        

# Weather Application

Crafting a Dynamic Weather Application:
Unleashing the Power of Django and Python with API Integration to Fetch Real-Time Weather Data Based on City Names.

## Installing

### Clone the project

```bash
git clone https://github.com/shivatejaburle/weather-app
cd weather-app
```

### Setup your Virtual Environment
```bash
pip install virtualenv
virtualenv venv
# For Windows
venv\Scripts\activate
# For Mac
source venv/bin/activate
```

### Install dependencies
```bash
pip install -r requirements.txt
```

### Environment Settings

Create `weather-app/.env` to store your API Key.

```bash
WEATHER_API_KEY = "Your-API-Key"
```

### Apply migrations

```bash
python manage.py migrate
```
### Collect static files (only on a production server)

```bash
python source/manage.py collectstatic
```

### Running a development server

Just run this command:

```bash
python manage.py runserver
```

## Screenshots

| Landing Page |
| ------------------------------------------------------|
||

| Results |
| ------------------------------------------------------|
||

| Show error message when city not found. |
| ------------------------------------------------------|
||