jpwahle / cs-insights-backend

API server of the cs-insights project. This is the main part of storing data and accessing an external data analysis endpoint. It uses a mongoDB instance to store everything and queries the cs-insights-prediction-endpoint to get machine learning results.
https://jpwahle.github.io/cs-insights-backend/
MIT License
7 stars 0 forks source link

Merge controllers of frontend with existing CRUD endpoints. #73

Closed jpwahle closed 1 year ago

jpwahle commented 2 years ago

Is your feature request related to a problem? Please describe. The controllers/fe/ subfolder has no value and can be merged with the CRUD endpoints in controllers/

Describe the solution you'd like Merge the endpoints in the top-level directory controllers/

trannel commented 2 years ago

I think it makes sense, as the frontend controllers can also be reached under api/v0/fe and not the normal route api/v0/. This way we also do not not have 2 files with the same name in the same directory.