There are some examples in the cfx-server-data repository too, including a player-data resource for storing user data with KVP, and a money resource implementing it.
player-data