This is a weather app where API requests were made visual using Django. API service used in this project is from openweathermap
- Django
- HTML
- CSS
- JavaScript
- Openweathermap API service
.──── django-weather-app (repo)
│
├── manage.py
├── db.sqlite3
├── main
│ ├── __init__.py
│ ├── __pycache__
│ ├── asgi.py
│ ├── settings.py
│ ├── urls.py
│ └── wsgi.py
│
└── weatherapp
├── __init__.py
├── __pycache__
├── admin.py
├── apps.py
├── migrations
├── models.py
├── static
│ └── weatherapp
│ ├── css
│ │ └── main.css
│ └── js
│ └── timeout.js
├── templates
│ └── weatherapp
│ └── index.html
├── tests.py
├── urls.py
└── views.py
# Clone this repository
$ git clone https://github.com/MSKose/django-weather-app.git
# Install dependencies
$ python -m venv env
> env/Scripts/activate (for win OS)
$ source env/bin/activate (for macOs/linux OS)
$ pip install -r requirements.txt
# Add .env file
add your SECRET_KEY and API_KEY
# Run the app
$ python manage.py runserver
# Get an API key from:
https://openweathermap.org/