lundi 17 mai 2021

Design app for store versioned data with Java

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:

  1. GET user snapshot on specific date
  2. 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