Skip to content

MSKose/django-weather-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Django Weather App

Table of Contents

Overview

This is a weather app where API requests were made visual using Django. API service used in this project is from openweathermap

Stack & Tools

  • Django
  • HTML
  • CSS
  • JavaScript
  • Openweathermap API service

Project Structure

.──── 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

How To Use

# 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/

Contact

Releases

No releases published

Packages

No packages published

Languages