Hello.
I would like to develop a similar point function of the attached image.
My questions are as follows.
How to distinguish points when points are used/stacked
Database Schema Configuration
Here's how I think.
Add field 'point' from user collection
Create point collection
type (example of delimited values for accumulation/use distinction. 0/1)
point (leave/use value)
I think this is enough, but is what I think right?
Or is there a better way?
Or do you have this experience?
What you're asking is not a Node.js question, but a service plan. What you actually want is much more elaborate and vast than you think.
There's a lot more than that. After that, I'll make a DB There is a high possibility that the part that you do is already organized. Think about it.
© 2024 OneMinuteCode. All rights reserved.