node-steam-guide icon indicating copy to clipboard operation
node-steam-guide copied to clipboard

Adding credits

Open mikirov opened this issue 8 years ago • 1 comments

Hello. I used your code as a base to try and make some project of mine and now i want to add credits on each user. Should i add it in the database collection User or should i create a separate Credits collection. If I want to implement credits on the User model how should i go on about updating the info when i serialize the user ? I want to use the credits property as "req.user.credits". How do i do that ?

mikirov avatar Nov 19 '17 22:11 mikirov

This is a good idea for the new guide. See #100.

andrewda avatar Jan 04 '20 04:01 andrewda