feat: Locations: CRUD
resah opened this issue · 0 comments
resah commented
This issue belongs to the feature "Multiple locations": Since many offices consist of multiple floors or even different locations, it should be possible to create location with their dedicated floor plan.
CRUD for locations
- Properties: name (long), name (short), image, description
- Upload an image for the floorplan for the location
Backend
Endpoints:
GET
/api/locations
- list all locationsPOST
/api/locations
- add new locationGET
/api/locations/:id
- get location by IDPUT
/api/locations/:id
- update a locationDELETE
/api/locations/:id
- delete a location, if no markers exist
Frontend
- Show default location