Skip to content

shinjl/xforecast-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

xforecast-server

The backend service for xForecast, a simple weather forecast app built on Svelte. Provides location based weather forecast with one click. Check this site for more detail.

Developing

# create virtual environment and activate it
virtualenv .venv
source .venv/bin/activate

# install dependencies
pip install -r requirements.txt

# configure environment variables
# copy example config file and change variables
cp .env.example .env
# OPEN_WEATHERMAP_APP_KEY = Your OpenWeatherMap APP KEY (required)
# IPSTACK_ACCESS_KEY = Your IPStack ACCESS KEY (required)
# DEFAULT_LAT = Default latitude (optional)
# DEFAULT_LON = Default longitude (optional)

# start development server
.venv/bin/flask run

About

Backend of xForecast, a simple weather forecast app built on Svelte

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors