Patechoc / rest-api-forecast-storage

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

FTDB

Forecast/Time series storage API

TODO

Basic functionalities

  • ✨ Implement endpoints possibilities similar to the Forecast API and to the Timeseries API
  • ✅ Write tests for all endpoints and backend functions (Make Sonarqube shine green!)
  • ♻️ Refactor the backend to use the core Python/SQL rather than HTTP calls to Azure Functions
  • 🐛 Fixing expected problems coming from CORS

Access Control functionalities

CI/CD and API versioning

  • 👷 Conditional configuration/deployment depending on the environment
  • 🔖 Multiple API versioning akka "How to let your end-users upgrade to the latest version of the API when they want, not just when you come up with a breaking change!"
  • 🎉 Build a template REST API configured with Statnett/Azure specific settings for other to use thanks to Cookiecutter

Improve performance

  • ⚡ Make calls to backend to run asynchronously with async

Serve the REST API

uvicorn forecast_timeseries_db_api.api.main:app --reload --port 8888 --host 0.0.0.0

and open it in your web browser http://localhost:8888

Deployment as web app on Azure (not working yet)

  • poetry export -f requirements.txt --output requirements.txt
  • follow the tutorial

About


Languages

Language:Python 91.2%Language:Dockerfile 8.8%