Skip to content

jamesrappazzo/scheduler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

django-weather

A quick webapp to practice working with Django.

The end goal of this project is a web application that allows users to find out the current weather conditions anywhere in the U.S. searching by zipcode or city and state.


Objectives

  • setup local dev workspace

    `pyenv`, `venv`, `pip install django`
    
  • initialize git repo

  • commit empty django project

  • create a weather app in the project

  • create a /search/zip/ route to allow users to get weather by zip

  • create a /search/city/state/ route to allow users to get weather by city, state

  • build a basic frontend for users to search from

  • build a basic frontend to display the results

  • create a /report-weather/ route to allow users to enter the weather at a location

  • create a /browse-reports/ route to allow users to enter the weather at a location

  • set up a data model to hold user submitted weather data

  • build a basic frontend for user input

  • add ability to browse submitted reports (either searches or filters)

  • add basic signin functionality so only authenticated users can submit reports

  • add additional report filtering

  • add user attribute to data submissions

  • migrate to GCP hosting?


Installation

  1. Download or clone the repo

  2. Setup a Python (virtual) environment using any version of Python >= 3.7.4

    • note, I've only tested this with 3.7.X, 3.8.X, 3.9.X
  3. Update and install all dependencies with

     pip install --U pip && pip install -r requirements.txt
    
  4. Set up your databases and make all migrations using

     python manage.py makemigrations weather
    

    python manage.py migrate

    • Optional: create an admin user for yourself using

      python manage.py createsuperuser
      
  5. Run the devserver and explore the app using

     python manage.py runserver
    

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published