Skip to content

bendike/ecoalert

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ecoalert

Example gql server in python that fetces data from external apis. Uses Strawberry + FastAPI.

Setup

Requires poetry.

poetry install
poetry run uvicorn ecoalert.main:app # --reload if you want hot reloading

The graphiql interface is available from your browser at localhost:8000/graphql.

An example gql request can be:

query WeatherEvents {
  earthquakes{
    magnitude
    time
    place
  }
  warings(county:TROMS_OG_FINNMARK, event:SNOW){
    title
    pubDate
    description
  }
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages