Weser [weather]
Weser is just a small server which provides a OpenAPI specification (/docs) and some api endpoints to save data into a Postgres, SQLite or MySQL database.
Requirements
Installation
pipenv install
Create an .env
file with following content:
echo "DB_URL=\"sqlite:///./db.sqlite\"" > .env
Usage
Env Variables
DB_URL = Database URI # See here
Development
pipenv run dev
Production
pipenv run prod
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.