Interested in patterns, different approaches and comments to design app. Imagine I want to create user-management spring-boot app with rest endpoints.
User model - firstName, lastName, city, phoneNumber (all fields are string) Additional to CRUD I want to have 2 endpoints:
- GET user snapshot on specific date
- GET all user diffs with old/new values in specific date range I would ask you advice about:
- rest endpoint naming/design
- database model to ensure this Thanks!
PS: what if I will want to handle in the future list of UserContact object instead single string?
Aucun commentaire:
Enregistrer un commentaire