CodeforLeipzig / leipziggiesst

https://giessdeinviertel.codeforleipzig.de/
MIT License
11 stars 3 forks source link

Store water sources in database #30

Open joergreichert opened 1 year ago

joergreichert commented 1 year ago

Current state: At the moment water sources are managed only a local file: https://github.com/CodeforLeipzig/leipziggiesst/blob/master/public/data/water-sources.json

Motivaton: Water sources should be addable/editable without the need to redeploy the frontend. By more water sources the file would grow (and loaded in frontend). When managed and loaded in backend this would be more efficient.

Future state: there is a database table and API for managing water sources, frontend is using the API.