Skip to content

gregriff/weather-api

Repository files navigation

Weather API

FastAPI backend for a weather app. Uses the National Weather Service API and Mapbox's Geocoding API. Uses SQLAlchemy to define DDL and make queries and migrations RDBMS-agnostic. Focus on maintainable and scalable design.

Local Development

  • Set up Virtual Environment
  • Install Dependencies: python -m pip install -r requirements.txt --require-hashes
  • (For searchbox features): Create Mapbox account and API key
  • Create, populate env file: cp example.env.json dev.env.json (running dev server will tell you if anything is missing)
  • Run dev server: python -m uvicorn api.main:app --reload --log-level debug

Roadmap

  • Optional OIDC login system with Keycloak. DB is already set up for this
  • Manual containerized deployment, hosted by Cloudflare Tunnels

About

API for Weather-App Personal Project

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published