roos-fs tasks #127
Updated by Vadim Pariev 11 months ago
**User story** As an admin a mobile app user, I want to create, view, and manage view a list of locations, fleet service locations with vehicle counts and addresses, so that I can maintain accurate get an overview of where vehicles are managed and searchable data about locations. serviced. **Acceptance Criteria** 1. Location Entity Each location should have the following attributes: Name (f.e. "Compound Großmehring RVL") Address (f.e. "OchsenSchüttstraße 6, Großmehring") 2. Admin Functionality - Admin can view a list of all existing locations. - Admin can create a new location by entering name and address. - Admin can edit or delete existing locations. - Basic validation on name and address fields (required, Otherwise could not be created). 3. Filtering & Sorting - Admin list view supports filtering by: Name (partial match) Address (partial match) - Sorting available by: Name (A–Z / Z–A) Address (A–Z / Z–A) **Other Acceptance Criteria** - Locations are created and stored in the system with all required fields **Other dependacies (but out of scope)** - Location could API endpoint is publicly callable by the mobile app (with appropriate auth) - Locations can be assigned to searched or filtered by name or code via the vechicle and on later API - Performance: the endpoint should return results under 500ms for tasks up to 500 locations